mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 03:01:54 +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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user