mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 11:54:36 +00:00
Save nested on Save as action
This commit is contained in:
@@ -1480,6 +1480,10 @@ public class Main {
|
||||
if (mode == SaveFileMode.EXE) {
|
||||
saveFileToExe((SWF) openable, exeExportMode, tmpFile);
|
||||
} else {
|
||||
if (openable instanceof SWF) {
|
||||
SWF swf = (SWF) openable;
|
||||
swf.saveNestedDefineBinaryData();
|
||||
}
|
||||
try (FileOutputStream fos = new FileOutputStream(tmpFile); BufferedOutputStream bos = new BufferedOutputStream(fos)) {
|
||||
openable.saveTo(bos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user