mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix checking the file association for needed updates
Previously, this would fail to notice that the file association needed to be updated. This would lead to Windows trying to open non-existent copies of Wabbajack or to Wabbajack selecting "-i" as the chosen mod list instead of the file selected.
This commit is contained in:
parent
8d7c4c823a
commit
ae8569bb38
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user