From: Jim Procter Date: Fri, 12 Jul 2024 16:40:46 +0000 (+0100) Subject: JAL-3631 - report that an additional flag might be needed if we didn't manage to... X-Git-Tag: Release_2_11_4_0~20^2~17 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b6d1c1df1e69f194c9fcf62871c4bf287eafad94;p=jalview.git JAL-3631 - report that an additional flag might be needed if we didn't manage to get an appDir --- 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 }