mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added iconPath and appPath as arguemnts for AssociateExtension
This commit is contained in:
parent
be4b15378f
commit
4cfbd14002
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user