Fixed updater ignoring XDG flag (again).

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-09-02 19:23:23 -05:00
parent 5817217eb5
commit 8cb796bd18
2 changed files with 2 additions and 2 deletions

View File

@@ -196,7 +196,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 || System.getProperty("XDG") != null)
if (status != Status.INITIAL || Options.USE_XDG)
return;
status = Status.CHECKING;