Skip to content

Commit

Permalink
Error Dialog Working Directory (#441)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
RobertBColton authored May 30, 2019
1 parent 6cd1add commit 79e8fff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions org/lateralgm/components/ErrorDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion org/lateralgm/main/LGM.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 79e8fff

Please sign in to comment.