mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 10:11:08 +00:00
Fixed: #2575 dumpSWF CLI command displayed import assets GUI dialog
Changed: #2575 dumpSWF CLI command only allows single SWF dump (no imports, etc.)
This commit is contained in:
@@ -4508,11 +4508,10 @@ public class CommandLineArgumentParser {
|
||||
if (args.isEmpty()) {
|
||||
badArguments("dumpswf");
|
||||
}
|
||||
try {
|
||||
Configuration.dumpTags.set(true);
|
||||
Configuration.parallelSpeedUp.set(false);
|
||||
OpenableSourceInfo sourceInfo = new OpenableSourceInfo(null, args.pop(), null);
|
||||
Main.parseOpenable(sourceInfo);
|
||||
Configuration.dumpTags.set(true);
|
||||
Configuration.parallelSpeedUp.set(false);
|
||||
try(InputStream is = new FileInputStream(args.pop())) {
|
||||
SWF swf = new SWF(is, false, false);
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.SEVERE, null, ex);
|
||||
System.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user