updated some libs & disabled the decode resource option
This commit is contained in:
parent
242466de17
commit
2d493c10bc
10 changed files with 7 additions and 5 deletions
Binary file not shown.
BIN
libs/cfr-0.142.jar
Normal file
BIN
libs/cfr-0.142.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
libs/procyon-decompiler-0.5.34.jar
Normal file
BIN
libs/procyon-decompiler-0.5.34.jar
Normal file
Binary file not shown.
|
@ -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 {
|
||||
|
|
|
@ -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*/
|
||||
|
|
|
@ -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)));
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue