From e743d2c2aed444d2c7412a1a2b63fbc9b5e7c105 Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Wed, 3 Jul 2024 15:44:23 -0500 Subject: [PATCH] Prevent bogus crash caused by residual psarc file --- src/Gonzo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gonzo.java b/src/Gonzo.java index 1195b83..a9c9c61 100644 --- a/src/Gonzo.java +++ b/src/Gonzo.java @@ -239,8 +239,8 @@ public class Gonzo { System.out.println("Firestar is compiling the final build"); consoleDisplay.append("Firestar is compiling the final build" + "\n"); Process p; - if (!Main.windows) {p = Runtime.getRuntime().exec(new String[]{"bash","-c","cd " + System.getProperty("user.home") + "/.firestar/temp" + ";wine ../psp2psarc.exe create --skip-missing-files -j12 -a -i --input-file=list.txt -o " + oArcTarget});} - else {p = Runtime.getRuntime().exec(new String[]{new String(System.getProperty("user.home") + "\\.firestar\\psp2psarc.exe"), "create", "--skip-missing-files", "-j12", "-a", "-i", "--input-file=list.txt", "-o" + oArcTarget}, null, new File(new String(System.getProperty("user.home") + "/.firestar/temp/").replace("/", "\\")));} + if (!Main.windows) {p = Runtime.getRuntime().exec(new String[]{"bash","-c","cd " + System.getProperty("user.home") + "/.firestar/temp" + ";wine ../psp2psarc.exe create --skip-missing-files -j12 -a -i -y --input-file=list.txt -o " + oArcTarget});} + else {p = Runtime.getRuntime().exec(new String[]{new String(System.getProperty("user.home") + "\\.firestar\\psp2psarc.exe"), "create", "--skip-missing-files", "-j12", "-a", "-i", "-y", "--input-file=list.txt", "-o" + oArcTarget}, null, new File(new String(System.getProperty("user.home") + "/.firestar/temp/").replace("/", "\\")));} final Thread ioThread = new Thread() { @Override public void run() {