From 5398cdaea09414e40d394d3581ecd9b570519a4e Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 2 Oct 2024 19:26:27 -0600 Subject: [PATCH] Cleanup --- .../bytecodeviewer/decompilers/impl/SmaliDisassembler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/SmaliDisassembler.java b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/SmaliDisassembler.java index a175cc4d..030bee43 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/SmaliDisassembler.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/SmaliDisassembler.java @@ -69,8 +69,6 @@ public class SmaliDisassembler extends AbstractDecompiler BytecodeViewer.handleException(e); } - //ZipUtils.zipFile(tempClass, tempZip); - Dex2Jar.saveAsDex(tempClass, tempDex, true); try @@ -106,6 +104,7 @@ public class SmaliDisassembler extends AbstractDecompiler while (!found) { File f = Objects.requireNonNull(current.listFiles())[0]; + if (f.isDirectory()) current = f; else @@ -113,7 +112,6 @@ public class SmaliDisassembler extends AbstractDecompiler outputSmali = f; found = true; } - } try {