mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 17:20:46 +00:00
Putting XML import/export export back in as it seems to run fine.
This commit is contained in:
@@ -443,7 +443,6 @@ public class CommandLineArgumentParser {
|
||||
out.println(" ...Decompress <infile> and save it to <outfile>");
|
||||
}
|
||||
|
||||
/* UNAVAILABLE IN JAVA9+
|
||||
if (filter == null || filter.equals("swf2xml")) {
|
||||
out.println(" " + (cnt++) + ") -swf2xml <infile> <outfile>");
|
||||
out.println(" ...Converts the <infile> SWF to <outfile> XML file");
|
||||
@@ -452,7 +451,7 @@ public class CommandLineArgumentParser {
|
||||
if (filter == null || filter.equals("xml2swf")) {
|
||||
out.println(" " + (cnt++) + ") -xml2swf <infile> <outfile>");
|
||||
out.println(" ...Converts the <infile> XML to <outfile> SWF file");
|
||||
}*/
|
||||
}
|
||||
|
||||
if (filter == null || filter.equals("extract")) {
|
||||
out.println(" " + (cnt++) + ") -extract <infile> [-o <outpath>|<outfile>] [nocheck] [(all|biggest|smallest|first|last)]");
|
||||
@@ -894,12 +893,11 @@ public class CommandLineArgumentParser {
|
||||
parseCompress(args);
|
||||
} else if (command.equals("decompress")) {
|
||||
parseDecompress(args);
|
||||
} else/* UNAVAILABLE IN JAVA9+
|
||||
if (command.equals("swf2xml")) {
|
||||
} else if (command.equals("swf2xml")) {
|
||||
parseSwf2Xml(args);
|
||||
} else if (command.equals("xml2swf")) {
|
||||
parseXml2Swf(args);
|
||||
} else*/ if (command.equals("extract")) {
|
||||
} else if (command.equals("extract")) {
|
||||
parseExtract(args);
|
||||
} else if (command.equals("memorysearch")) {
|
||||
parseMemorySearch(args);
|
||||
|
||||
@@ -724,13 +724,13 @@ public abstract class MainFrameMenu implements MenuBuilder {
|
||||
setMenuEnabled("/file/export/exportFla", swfSelected && !isWorking);
|
||||
setMenuEnabled("_/exportSelected", swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/export/exportSelected", swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/export/exportXml", false /*NOT AVAILABLE IN JAVA9+*/); //swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/export/exportXml", swfSelected && !isWorking);
|
||||
|
||||
setMenuEnabled("/file/import", swfSelected);
|
||||
setMenuEnabled("/file/import/importText", swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/import/importScript", swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/import/importSymbolClass", swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/import/importXml", false /*NOT AVAILABLE IN JAVA9+*/); //swfSelected && !isWorking);
|
||||
setMenuEnabled("/file/import/importXml", swfSelected && !isWorking);
|
||||
|
||||
setMenuEnabled("/tools/deobfuscation", swfSelected);
|
||||
setMenuEnabled("/tools/deobfuscation/renameOneIdentifier", swfSelected && !isWorking);
|
||||
|
||||
Reference in New Issue
Block a user