mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Add run as administrator to Shell plugin settings
This commit is contained in:
@@ -97,7 +97,7 @@ namespace Wox.Plugin.Program.Programs
|
||||
Title = api.GetTranslation("wox_plugin_program_run_as_administrator"),
|
||||
Action = _ =>
|
||||
{
|
||||
return Main.StartProcess(ShellCommand.SetCMDRunAsAdministrator(FullPath, ParentDirectory));
|
||||
return Main.StartProcess(ShellCommand.SetProcessStartInfo(FullPath, ParentDirectory));
|
||||
},
|
||||
IcoPath = "Images/cmd.png"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user