mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 22:04:46 +00:00
continue fla exporting with the next file when an swf fails to export
This commit is contained in:
@@ -1577,10 +1577,15 @@ public class CommandLineArgumentParser {
|
||||
XFLExportSettings settings = new XFLExportSettings();
|
||||
settings.compressed = compressed;
|
||||
settings.exportScript = exportScript;
|
||||
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);
|
||||
|
||||
try {
|
||||
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);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.SEVERE, "Error during XFL/FLA export", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user