Implemented desktop-specific recipes, removed Configurable

This commit is contained in:
Anuken
2018-01-09 17:47:34 -05:00
parent 8e676494e3
commit 9c48ab1128
21 changed files with 76 additions and 46 deletions

View File

@@ -129,9 +129,10 @@ public class DesktopLauncher {
String result = Strings.parseException(e, true);
boolean failed = false;
String filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h.mm.ss").format(new Date()) + ".txt";
String filename = "";
try{
filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h.mm.ss").format(new Date()) + ".txt";
Files.write(Paths.get(filename), result.getBytes());
}catch (IOException i){
i.printStackTrace();