mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 11:10:56 +00:00
Issue #212 Cannot create directory issue / parallel mkdirs
This commit is contained in:
@@ -2453,6 +2453,13 @@ public class XFLConverter {
|
||||
public static void convertSWF(SWF swf, String swfFileName, String outfile, boolean compressed, String generator, String generatorVerName, String generatorVersion, boolean paralel) throws IOException {
|
||||
File file = new File(outfile);
|
||||
File outDir = file.getParentFile();
|
||||
if (!outDir.exists()) {
|
||||
if (!outDir.mkdirs()) {
|
||||
if (!outDir.exists()) {
|
||||
throw new IOException("cannot create directory " + outDir);
|
||||
}
|
||||
}
|
||||
}
|
||||
String domDocument = "";
|
||||
String baseName = swfFileName;
|
||||
File f = new File(baseName);
|
||||
|
||||
Reference in New Issue
Block a user