Disable auto-updater if running with XDG directories. (fixes #58)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
3e1abf89cf
commit
16ec6c5e23
|
@ -194,7 +194,7 @@ public class Updater {
|
||||||
* Checks the program version against the version file on the update server.
|
* Checks the program version against the version file on the update server.
|
||||||
*/
|
*/
|
||||||
public void checkForUpdates() throws IOException {
|
public void checkForUpdates() throws IOException {
|
||||||
if (status != Status.INITIAL)
|
if (status != Status.INITIAL || System.getProperty("XDG") != null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
status = Status.CHECKING;
|
status = Status.CHECKING;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user