From 695de2f86389355739c177f4e4403d78ee824099 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Sun, 6 Mar 2016 19:01:41 +0100 Subject: [PATCH] export without version number to make easier comparing (only for debugging, should be enabled in advanced settings) --- .../decompiler/flash/console/CommandLineArgumentParser.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java index 878df8ef6..24adb0fe6 100644 --- a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java +++ b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java @@ -1577,7 +1577,11 @@ public class CommandLineArgumentParser { XFLExportSettings settings = new XFLExportSettings(); settings.compressed = compressed; settings.exportScript = exportScript; - swf.exportXfl(handler, outFile, inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.applicationVerName, ApplicationInfo.version, Configuration.parallelSpeedUp.get(), flaVersion, settings); + if (Configuration.setFFDecVersionInExportedFont.get()) { + swf.exportXfl(handler, outFile, inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.applicationVerName, ApplicationInfo.version, Configuration.parallelSpeedUp.get(), flaVersion, settings); + } else { + swf.exportXfl(handler, outFile, inFile.getName(), ApplicationInfo.APPLICATION_NAME, ApplicationInfo.APPLICATION_NAME, "1.0.0", Configuration.parallelSpeedUp.get(), flaVersion, settings); + } } private static void parseDeobfuscate(Stack args) {