JAL-3631 - report that an additional flag might be needed if we didn't manage to...
authorJim Procter <jprocter@dundee.ac.uk>
Fri, 12 Jul 2024 16:40:46 +0000 (17:40 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Fri, 12 Jul 2024 16:40:46 +0000 (17:40 +0100)
getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/EnvConfig.java

index a43b1dd..7eb32df 100644 (file)
@@ -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
         }