mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2025-07-25 12:54:41 +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:
@ -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()
|
||||
|
Reference in New Issue
Block a user