Abstract Decompiler API Update
This commit is contained in:
parent
7105cf93c3
commit
ce2d2cd96c
|
@ -63,7 +63,10 @@ public enum Decompiler
|
|||
return getDecompiler().getDecompilerName();
|
||||
}
|
||||
|
||||
public String getDecompilerNameProgrammic()
|
||||
/**
|
||||
* Used for the compressed exports (Zip / Jar)
|
||||
*/
|
||||
public String getDecompilerNameProgrammatic()
|
||||
{
|
||||
if(decompiler == null)
|
||||
return "";
|
||||
|
|
|
@ -258,7 +258,7 @@ public class ResourceDecompiling
|
|||
|
||||
//decompile all opened classes to zip
|
||||
decompiler.getDecompiler().decompileToZip(targetJar.getAbsolutePath(), saveAll ? MiscUtils.append(outputZip,
|
||||
"-" + decompiler.getDecompilerNameProgrammic() + ".zip") : outputZip.getAbsolutePath());
|
||||
"-" + decompiler.getDecompilerNameProgrammatic() + ".zip") : outputZip.getAbsolutePath());
|
||||
|
||||
//signal to the user that BCV is finished performing that action
|
||||
BytecodeViewer.updateBusyStatus(false);
|
||||
|
@ -271,7 +271,7 @@ public class ResourceDecompiling
|
|||
|
||||
//decompile the currently opened resource and save it to the specified file
|
||||
DiskWriter.replaceFile(saveAll ? MiscUtils.append(outputFile,
|
||||
"-" + decompiler.getDecompilerNameProgrammic() + ".java") : outputFile.getAbsolutePath(), BCV.decompileCurrentlyOpenedClassNode(decompiler), false);
|
||||
"-" + decompiler.getDecompilerNameProgrammatic() + ".java") : outputFile.getAbsolutePath(), BCV.decompileCurrentlyOpenedClassNode(decompiler), false);
|
||||
|
||||
//signal to the user that BCV is finished performing that action
|
||||
BytecodeViewer.updateBusyStatus(false);
|
||||
|
|
Loading…
Reference in New Issue
Block a user