mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
ChangeProfile contextmenu runs HeliosPlus
The CHangeProfile contextmenu didn't create a process properly. Now it does :).
This commit is contained in:
parent
c52950c9b5
commit
34eab029d1
@ -31,6 +31,7 @@ namespace HeliosPlus.ShellExtension
|
|||||||
internal static string registryHeliosPlus = @"SOFTWARE\HeliosPlus";
|
internal static string registryHeliosPlus = @"SOFTWARE\HeliosPlus";
|
||||||
string heliosPlusFullname = "";
|
string heliosPlusFullname = "";
|
||||||
string heliosPlusInstallDir = "";
|
string heliosPlusInstallDir = "";
|
||||||
|
Process heliosPlusProcess = null;
|
||||||
|
|
||||||
public HeliosDesktopMenuExtension()
|
public HeliosDesktopMenuExtension()
|
||||||
{ }
|
{ }
|
||||||
@ -105,8 +106,9 @@ namespace HeliosPlus.ShellExtension
|
|||||||
extensionMenu.DropDownItems.Add(new ToolStripMenuItem(pair.Key, null,
|
extensionMenu.DropDownItems.Add(new ToolStripMenuItem(pair.Key, null,
|
||||||
(sender, args) =>
|
(sender, args) =>
|
||||||
{
|
{
|
||||||
Logging.Log(heliosPlusFullname + $" ChangeProfile {pair.Value}");
|
Logging.Log(heliosPlusFullname + $" ChangeProfile \"{pair.Value}\"");
|
||||||
Process.Start(heliosPlusFullname + $" ChangeProfile {pair.Value}");
|
heliosPlusProcess = Process.Start(heliosPlusFullname,$"ChangeProfile \"{pair.Value}\"");
|
||||||
|
Logging.Log(heliosPlusProcess.ToString());
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user