From 16ec6c5e23c1d968ff8794b28c3b4415a07cf55f Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Fri, 20 Mar 2015 14:49:20 -0400 Subject: [PATCH] Disable auto-updater if running with XDG directories. (fixes #58) Signed-off-by: Jeffrey Han --- src/itdelatrisu/opsu/downloads/Updater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/downloads/Updater.java b/src/itdelatrisu/opsu/downloads/Updater.java index c70a48ff..5612e381 100644 --- a/src/itdelatrisu/opsu/downloads/Updater.java +++ b/src/itdelatrisu/opsu/downloads/Updater.java @@ -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;