From b6d1c1df1e69f194c9fcf62871c4bf287eafad94 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 12 Jul 2024 17:40:46 +0100 Subject: [PATCH] JAL-3631 - report that an additional flag might be needed if we didn't manage to get an appDir --- .../core/src/main/java/com/threerings/getdown/data/EnvConfig.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/EnvConfig.java b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/EnvConfig.java index a43b1dd..7eb32df 100644 --- a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/EnvConfig.java +++ b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/EnvConfig.java @@ -257,6 +257,9 @@ public final class EnvConfig { // ensure that we were able to find an app dir if (appDir == null) { + if (!SysProps.noUpdate()) { + notes.add(Note.error("No appDir could be determined. You may need to set -Dsilent=noupdate -Dno"+USER_DEFAULT_APPDIR_PROPERTY)); + } return null; // caller will report problem to user } -- 1.7.10.2