ExtensionManager: Removed unused argument

This commit is contained in:
erri120 2019-10-31 12:14:14 +01:00
parent ccbaf86955
commit ee2ea4acc0
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ namespace Wabbajack.Common
return tempKey.GetValue("").ToString().Equals($"\"{appPath}\" -i \"%1\"");
}
public static bool IsAssociated(string appPath)
public static bool IsAssociated()
{
var progIDKey = Registry.CurrentUser.OpenSubKey(ProgIDPath);
var extKey = Registry.CurrentUser.OpenSubKey(ExtPath);

View File

@ -31,7 +31,7 @@ namespace Wabbajack
}*/
var appPath = Assembly.GetExecutingAssembly().Location;
if (!ExtensionManager.IsAssociated(appPath) || ExtensionManager.NeedsUpdating(appPath))
if (!ExtensionManager.IsAssociated() || ExtensionManager.NeedsUpdating(appPath))
{
ExtensionManager.Associate(appPath);
}