add -Dsilent=noupdate, to just start the app w/o any updates

This commit is contained in:
Myron Boyle
2019-02-25 14:33:51 +01:00
parent 68341fedc2
commit d24d12a6c4
2 changed files with 17 additions and 0 deletions
@@ -64,6 +64,14 @@ public class SysProps
return System.getProperty("no_install") != null;
}
/**
* If true, Getdown launches the app without updating. Usage:
* {@code -Dsilent=noupdate}.
*/
public static boolean noUpdate() {
return "noupdate".equals(System.getProperty("silent"));
}
/** If true, Getdown installs the app without ever bringing up a UI and then launches it.
* Usage: {@code -Dsilent=launch}. */
public static boolean launchInSilent () {