diff --git a/libs/Krakatau-10.zip b/libs/Krakatau-11.zip similarity index 62% rename from libs/Krakatau-10.zip rename to libs/Krakatau-11.zip index 36964650..47cee123 100644 Binary files a/libs/Krakatau-10.zip and b/libs/Krakatau-11.zip differ diff --git a/libs/cfr-0.142.jar b/libs/cfr-0.142.jar new file mode 100644 index 00000000..89285d5e Binary files /dev/null and b/libs/cfr-0.142.jar differ diff --git a/libs/cfr_0_125.jar b/libs/cfr_0_125.jar deleted file mode 100644 index a4651fa6..00000000 Binary files a/libs/cfr_0_125.jar and /dev/null differ diff --git a/libs/procyon-decompiler-0.5.30.jar b/libs/procyon-decompiler-0.5.30.jar deleted file mode 100644 index 5dc8b1dd..00000000 Binary files a/libs/procyon-decompiler-0.5.30.jar and /dev/null differ diff --git a/libs/procyon-decompiler-0.5.34.jar b/libs/procyon-decompiler-0.5.34.jar new file mode 100644 index 00000000..a2acbd97 Binary files /dev/null and b/libs/procyon-decompiler-0.5.34.jar differ diff --git a/src/the/bytecode/club/bootloader/Boot.java b/src/the/bytecode/club/bootloader/Boot.java index cd69948b..d5267da6 100644 --- a/src/the/bytecode/club/bootloader/Boot.java +++ b/src/the/bytecode/club/bootloader/Boot.java @@ -450,6 +450,7 @@ public class Boot { File krakatauZip = null; for (File f : new File(BytecodeViewer.libsDirectory).listFiles()) { if (f.getName().toLowerCase().startsWith("krakatau-")) { + //System.out.println(f.getName()); BytecodeViewer.krakatauVersion = f.getName().split("-")[1].split("\\.")[0]; krakatauZip = f; } @@ -467,7 +468,8 @@ public class Boot { } } - BytecodeViewer.krakatauWorkingDirectory = BytecodeViewer.getBCVDirectory() + BytecodeViewer.fs + "krakatau_" + BytecodeViewer.krakatauVersion + BytecodeViewer.fs + "Krakatau-master"; + BytecodeViewer.krakatauWorkingDirectory = BytecodeViewer.getBCVDirectory() + BytecodeViewer.fs + "krakatau_" + + BytecodeViewer.krakatauVersion + BytecodeViewer.fs + "Krakatau-master"; File krakatauDirectory = new File(BytecodeViewer.getBCVDirectory() + BytecodeViewer.fs + "krakatau_" + BytecodeViewer.krakatauVersion); if (!krakatauDirectory.exists()) { try { diff --git a/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java b/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java index a9f9daa3..33cdbd64 100644 --- a/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java +++ b/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java @@ -130,7 +130,7 @@ import the.bytecode.club.bytecodeviewer.plugin.PluginManager; public class BytecodeViewer { /*per version*/ - public static String version = "2.9.11"; + public static String version = "2.9.12"; public static boolean previewCopy = false; public static boolean fatJar = true; //could be automatic by checking if it's loaded a class named whatever for a library /*the rest*/ diff --git a/src/the/bytecode/club/bytecodeviewer/Settings.java b/src/the/bytecode/club/bytecodeviewer/Settings.java index 192809df..d913630f 100644 --- a/src/the/bytecode/club/bytecodeviewer/Settings.java +++ b/src/the/bytecode/club/bytecodeviewer/Settings.java @@ -394,7 +394,7 @@ public class Settings { BytecodeViewer.viewer.panel3Fern_E.setSelected(Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 103, false))); BytecodeViewer.viewer.panel3Krakatau_E.setSelected(Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 104, false))); BytecodeViewer.viewer.panel3Smali_E.setSelected(Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 105, false))); - BytecodeViewer.viewer.decodeAPKResources.setSelected(Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 106, false))); + // BytecodeViewer.viewer.decodeAPKResources.setSelected(Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 106, false))); BytecodeViewer.library = DiskReader.loadString(BytecodeViewer.settingsName, 107, false); BytecodeViewer.pingback = Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 108, false)); BytecodeViewer.viewer.panel1JDGUI_E.setSelected(Boolean.parseBoolean(DiskReader.loadString(BytecodeViewer.settingsName, 109, false))); diff --git a/src/the/bytecode/club/bytecodeviewer/decompilers/ProcyonDecompiler.java b/src/the/bytecode/club/bytecodeviewer/decompilers/ProcyonDecompiler.java index bb5576e4..e3ff45b3 100644 --- a/src/the/bytecode/club/bytecodeviewer/decompilers/ProcyonDecompiler.java +++ b/src/the/bytecode/club/bytecodeviewer/decompilers/ProcyonDecompiler.java @@ -95,7 +95,7 @@ public class ProcyonDecompiler extends Decompiler { .isSelected()); settings.setUnicodeOutputEnabled(BytecodeViewer.viewer.chckbxmntmNewCheckItem_1 .isSelected()); - settings.setFormattingOptions(JavaFormattingOptions.createDefault()); + settings.setJavaFormattingOptions(JavaFormattingOptions.createDefault()); return settings; } diff --git a/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java b/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java index 0b99322a..4f80ac94 100644 --- a/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java +++ b/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java @@ -1619,7 +1619,7 @@ public class MainViewerGUI extends JFrame implements FileChangeNotifier { mnSettings.add(refreshOnChange); mnSettings.add(separator_38); - decodeAPKResources.setSelected(true); + decodeAPKResources.setSelected(false); mnSettings.add(decodeAPKResources);