Fixed CFR decompiler again

This commit is contained in:
ItzSomebody 2018-01-31 08:18:50 -08:00
parent b938f86d8a
commit 110a8053e4

View file

@ -68,7 +68,7 @@ public class CFRDecompiler extends Decompiler {
}
String fuckery = fuckery(fileStart);
if (!BytecodeViewer.fatJar) {
/*if (!BytecodeViewer.fatJar) {
try {
ProcessBuilder pb = new ProcessBuilder(ArrayUtils.addAll(
new String[]{BytecodeViewer.getJavaCommand(), "-jar", Resources.findLibrary("cfr")},
@ -85,7 +85,8 @@ public class CFRDecompiler extends Decompiler {
}
} else {
org.benf.cfr.reader.Main.main(generateMainMethod(tempClass.getAbsolutePath(), fuckery));
}
}*/
org.benf.cfr.reader.Main.main(generateMainMethod(tempClass.getAbsolutePath(), fuckery));
tempClass.delete();