mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 16:05:48 +00:00
Issue #142 Fixed not working on nonWindows OS due to association
This commit is contained in:
@@ -984,6 +984,9 @@ public class Main {
|
||||
}
|
||||
|
||||
public static boolean isAssociated() {
|
||||
if(!Platform.isWindows()){
|
||||
return false;
|
||||
}
|
||||
if (!Advapi32Util.registryKeyExists(WinReg.HKEY_CLASSES_ROOT, ".swf")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -755,7 +755,6 @@ public class MainFrame extends AppFrame implements ActionListener, TreeSelection
|
||||
|
||||
|
||||
|
||||
|
||||
Component leftComponent = null;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user