mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 20:50:46 +00:00
Fixed: #2268 AS3 script export with embedded assets fails (_assets dir not exists)
when no other than sprite assets exist
This commit is contained in:
+1
@@ -571,6 +571,7 @@ public class AS3ScriptExporter {
|
||||
}
|
||||
if (!spriteTagList.isEmpty()) {
|
||||
new RetryTask(() -> {
|
||||
Path.createDirectorySafe(new File(ASSETS_DIR));
|
||||
try (FileOutputStream fos = new FileOutputStream(ASSETS_DIR + "/assets.swf")) {
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
SWFOutputStream sos2 = new SWFOutputStream(baos, swf.version, swf.getCharset());
|
||||
|
||||
Reference in New Issue
Block a user