From 1c4f19d84bce0d33da0ab0323e0b55ec1f9b8c12 Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Tue, 9 Jul 2024 23:29:37 -0500 Subject: [PATCH] remove unused debug lines --- firestar/src/main/java/Bert.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/firestar/src/main/java/Bert.java b/firestar/src/main/java/Bert.java index c9f78b0..7a56a0e 100644 --- a/firestar/src/main/java/Bert.java +++ b/firestar/src/main/java/Bert.java @@ -151,16 +151,7 @@ public class Bert implements ActionListener { Process p; try { if (!Main.windows) {p = Runtime.getRuntime().exec(new String[]{"bash","-c","cd " + Main.inpath + ";wine pkg2zip.exe -x asset.pkg " + key.toString()});} - else {p = Runtime.getRuntime().exec(new String[]{Main.inpath + "pkg2zip.exe", "-x", "asset.pkg", key.toString()}, null, new File(Main.inpath)); - InputStream debugin = new BufferedInputStream(p.getInputStream()); - FileOutputStream debugout = new FileOutputStream(Main.inpath + "log1.txt"); - int c; - while ((c = debugin.read()) != -1) { - debugout.write(c); - } - debugin.close(); - debugout.close(); - } //inpath cannot change here + else {p = Runtime.getRuntime().exec(new String[]{Main.inpath + "pkg2zip.exe", "-x", "asset.pkg", key.toString()}, null, new File(Main.inpath));} //inpath cannot change here p.waitFor(); } catch (Exception e) { System.out.println(e.getMessage());