Disable auto-updater if running with XDG directories. (fixes #58)

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-03-20 14:49:20 -04:00
parent 3e1abf89cf
commit 16ec6c5e23

View File

@ -194,7 +194,7 @@ public class Updater {
* Checks the program version against the version file on the update server.
*/
public void checkForUpdates() throws IOException {
if (status != Status.INITIAL)
if (status != Status.INITIAL || System.getProperty("XDG") != null)
return;
status = Status.CHECKING;