From a3bda3a94140a0e17f09b160f9050a2038e63d54 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 12 Jul 2018 19:00:02 -0400 Subject: [PATCH] Changed crash report location --- desktop/src/io/anuke/mindustry/desktop/CrashHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/io/anuke/mindustry/desktop/CrashHandler.java b/desktop/src/io/anuke/mindustry/desktop/CrashHandler.java index 64fcf2da36..af32d6f065 100644 --- a/desktop/src/io/anuke/mindustry/desktop/CrashHandler.java +++ b/desktop/src/io/anuke/mindustry/desktop/CrashHandler.java @@ -54,7 +54,7 @@ public class CrashHandler { //try to write it try{ filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h.mm.ss").format(new Date()) + ".txt"; - Files.write(Paths.get(filename), result.getBytes()); + Files.write(Paths.get(System.getProperty("user.home"), "mindustry-crash-reports", filename), result.getBytes()); }catch (Throwable i){ i.printStackTrace(); failed = true;