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 {