mirror of
https://git.code.sf.net/p/projectlibre/code
synced 2024-11-01 03:21:46 +01:00
explicit switch to turn off looking for updates
This commit is contained in:
parent
77b9ba2e6e
commit
24842df344
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ public class UpdateChecker {
|
|||
private static final String updateAddress = "http://projectlibre.org/versions-"+UPDATE_CHECKER_VERSION; //claur openproj.org version not working any more
|
||||
private static final String downloadAddress = "http://sourceforge.net/projects/projectlibre/files/latest/download";
|
||||
private static void checkForUpdate() {
|
||||
if (! Preferences.userNodeForPackage(UpdateChecker.class).getBoolean("checkForUpdates", true) ) {
|
||||
return;
|
||||
}
|
||||
String thisVersion = VersionUtils.getVersion();//Messages.getString("Release.version");
|
||||
if (thisVersion==null) thisVersion="0";
|
||||
URL url;
|
||||
|
|
Loading…
Reference in a new issue