From 8c847e6421cc25c8ae591aca92465c5927fd01ec Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 8 May 2020 17:55:39 -0400 Subject: [PATCH] v0.8.1: added a version printout to desktop error messages --- .../shatteredpixeldungeon/desktop/DesktopLauncher.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java index 6ed89e2d9..103b0f6b5 100644 --- a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java +++ b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java @@ -77,6 +77,7 @@ public class DesktopLauncher { TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!", title + " has run into an error it can't recover from and has crashed, sorry about that!\n\n" + "If you could, please email this error message to the developer (Evan@ShatteredPixel.com):\n\n" + + "version: " + Game.version + "\n" + exceptionMsg, "ok", "error", false ); if (Gdx.app != null) Gdx.app.exit(); @@ -137,7 +138,7 @@ public class DesktopLauncher { config.setWindowIcon("icons/icon_16.png", "icons/icon_32.png", "icons/icon_64.png", "icons/icon_128.png", "icons/icon_256.png"); - + new Lwjgl3Application(new ShatteredPixelDungeon(new DesktopPlatformSupport()), config); } }