mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-28 15:25:35 +00:00
Commandline FLA/XFL extension fix
This commit is contained in:
@@ -2215,7 +2215,8 @@ public class CommandLineArgumentParser {
|
||||
outFile = Path.combine(outFile, exportFormat);
|
||||
};
|
||||
|
||||
outFile = Path.combine(outFile, inFile.getName());
|
||||
String outFileName = inFile.getName().toLowerCase().endsWith(".swf") ? inFile.getName().substring(0, inFile.getName().length() - 3) + exportFormat : inFile.getName();
|
||||
outFile = Path.combine(outFile, outFileName);
|
||||
XFLExportSettings settings = new XFLExportSettings();
|
||||
settings.compressed = compressed;
|
||||
settings.exportScript = exportScript;
|
||||
|
||||
Reference in New Issue
Block a user