mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed bug when integrate with explorer context menu doesn't work on new systems
This commit is contained in:
parent
674920964c
commit
78f5ce692c
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ public static void MenuIntegrate(string action)
|
|||
{
|
||||
if (action == "enable")
|
||||
{
|
||||
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Classes\*\", true);
|
||||
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Classes\", true);
|
||||
key = key.CreateSubKey("*");
|
||||
key = key.CreateSubKey("shell");
|
||||
key.CreateSubKey("Crypto Notepad").SetValue("icon", appExePath);
|
||||
key.CreateSubKey("Crypto Notepad").SetValue("SubCommands", "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue