Merge pull request #516 from LostDragonist/fix-file-association

Fix checking the file association for needed updates
This commit is contained in:
erri120 2020-02-14 19:33:22 +01:00 committed by GitHub
commit 001613088f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ namespace Wabbajack.Common
var tempKey = progIDKey?.OpenSubKey("shell\\open\\command");
if (progIDKey == null || tempKey == null) return true;
var value = tempKey.GetValue("");
return value == null || value.ToString().Equals($"\"{appPath}\" -i=\"%1\"");
return value == null || !value.ToString().Equals($"\"{appPath}\" -i=\"%1\"");
}
public static bool IsAssociated()