* @return true if a new version is to be downloaded
*/
public boolean checkForNewVersion() {
try {
File jarFile = new File(PeptideShakerGUI.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
MavenJarFile oldMavenJarFile = new MavenJarFile(jarFile.toURI());
URL jarRepository = new URL("http", "genesis.ugent.be", new StringBuilder().append("/maven2/").toString());
return CompomicsWrapper.checkForNewDeployedVersion(
"PeptideShaker", oldMavenJarFile, jarRepository, "peptide-shaker.ico",
false, true, true, Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")),