mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Left only 2 items in context menu
This commit is contained in:
parent
6fb1bf3813
commit
e27c9e0d99
1 changed files with 3 additions and 5 deletions
|
|
@ -159,14 +159,12 @@ public static void MenuIntegrate(string action)
|
|||
key.CreateSubKey("Crypto Notepad").SetValue("SubCommands", "");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell");
|
||||
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd1\").SetValue("MUIVerb", "Encrypt current file");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd1\command").SetValue(string.Empty, "\"" + appExePath + "\" \"%1\" /e");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd1\").SetValue("MUIVerb", "Encrypt");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd1\command").SetValue(string.Empty, "\"" + appExePath + "\" \"%1\" /er");
|
||||
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd2\").SetValue("MUIVerb", "Decrypt current file");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd2\").SetValue("MUIVerb", "Decrypt");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd2\command").SetValue(string.Empty, "\"" + appExePath + "\" \"%1\" /o");
|
||||
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd3\").SetValue("MUIVerb", "Encrypt and replace current file");
|
||||
key.CreateSubKey(@"Crypto Notepad\shell\cmd3\command").SetValue(string.Empty, "\"" + appExePath + "\" \"%1\" /er");
|
||||
}
|
||||
|
||||
if (action == "disable")
|
||||
|
|
|
|||
Loading…
Reference in a new issue