mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
ExtensionManager: Removed unused argument
This commit is contained in:
@ -36,7 +36,7 @@ namespace Wabbajack.Common
|
|||||||
return tempKey.GetValue("").ToString().Equals($"\"{appPath}\" -i \"%1\"");
|
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 progIDKey = Registry.CurrentUser.OpenSubKey(ProgIDPath);
|
||||||
var extKey = Registry.CurrentUser.OpenSubKey(ExtPath);
|
var extKey = Registry.CurrentUser.OpenSubKey(ExtPath);
|
||||||
|
@ -31,7 +31,7 @@ namespace Wabbajack
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
var appPath = Assembly.GetExecutingAssembly().Location;
|
var appPath = Assembly.GetExecutingAssembly().Location;
|
||||||
if (!ExtensionManager.IsAssociated(appPath) || ExtensionManager.NeedsUpdating(appPath))
|
if (!ExtensionManager.IsAssociated() || ExtensionManager.NeedsUpdating(appPath))
|
||||||
{
|
{
|
||||||
ExtensionManager.Associate(appPath);
|
ExtensionManager.Associate(appPath);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user