Issue #142 Fixed not working on nonWindows OS due to association

This commit is contained in:
Jindra Petk
2013-07-04 14:26:04 +02:00
parent 61e7a99206
commit a19d6ce95c
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
}