Added iconPath and appPath as arguemnts for AssociateExtension

This commit is contained in:
erri120 2019-10-28 14:36:23 +01:00
parent be4b15378f
commit 4cfbd14002
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -16,11 +16,8 @@ namespace Wabbajack.Common
return (Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\"+Extension, false) == null);
}
public static void AssociateExtension()
public static void AssociateExtension(string iconPath, string appPath)
{
var iconPath = "";
var appPath = "";
Version winVersion = new Version(6, 2, 9200, 0);
RegistryKey extReg = Registry.CurrentUser.CreateSubKey("Software\\Classes\\" + Extension);