mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-19 05:51:55 +00:00
Added #1864 Commandline: Allow to set special value "/dev/stdin" for input files to read from stdin (even on Windows)
This commit is contained in:
@@ -3222,7 +3222,9 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
if (selectedFile != null) {
|
||||
File selfile = Helper.fixDialogFile(selectedFile);
|
||||
try {
|
||||
new SwfXmlImporter().importSwf(swf, selfile);
|
||||
try ( FileInputStream fis = new FileInputStream(selfile)) {
|
||||
new SwfXmlImporter().importSwf(swf, fis);
|
||||
}
|
||||
swf.clearAllCache();
|
||||
swf.assignExportNamesToSymbols();
|
||||
swf.assignClassesToSymbols();
|
||||
|
||||
Reference in New Issue
Block a user