From 79e8fffeb4e7935ac6315a7ea76f238d6262243d Mon Sep 17 00:00:00 2001 From: Robert Colton Date: Wed, 29 May 2019 23:06:45 -0400 Subject: [PATCH] Error Dialog Working Directory (#441) This idea comes from Josh who is helping me with the ENIGMA plugin. Basically, the error dialog should always print LGM's working directory so we can more easily assist users who get errors about compileEGMf not being found. It may also make it easier to diagnose other problems in LateralGM. --- org/lateralgm/components/ErrorDialog.java | 1 + org/lateralgm/main/LGM.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/org/lateralgm/components/ErrorDialog.java b/org/lateralgm/components/ErrorDialog.java index b5a73d9c4..30459f34f 100644 --- a/org/lateralgm/components/ErrorDialog.java +++ b/org/lateralgm/components/ErrorDialog.java @@ -62,6 +62,7 @@ public static ErrorDialog getInstance() public static String generateAgnosticInformation() { String ret = "LateralGM Version: " + LGM.version; + ret += "\nWorking Directory: " + LGM.workDir; ret += "\n\nOperating System: " + System.getProperty("os.name"); ret += "\nVersion: " + System.getProperty("os.version"); diff --git a/org/lateralgm/main/LGM.java b/org/lateralgm/main/LGM.java index 152b37600..ad000b331 100644 --- a/org/lateralgm/main/LGM.java +++ b/org/lateralgm/main/LGM.java @@ -135,7 +135,7 @@ public final class LGM { - public static final String version = "1.8.79"; //$NON-NLS-1$ + public static final String version = "1.8.80"; //$NON-NLS-1$ // TODO: This list holds the class loader for any loaded plugins which should be // cleaned up and closed when the application closes.