mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-12 12:43:04 +08:00
adding in hybrid shutdown for fast startup (#16151)
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown
This commit is contained in:
parent
11bb7ccf60
commit
651e823c30
@ -119,7 +119,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System
|
|||||||
IcoPath = $"Images\\shutdown.{IconTheme}.png",
|
IcoPath = $"Images\\shutdown.{IconTheme}.png",
|
||||||
Action = c =>
|
Action = c =>
|
||||||
{
|
{
|
||||||
return ExecuteCommand(Resources.Microsoft_plugin_sys_shutdown_computer_confirmation, () => Helper.OpenInShell("shutdown", "/s /t 0"));
|
return ExecuteCommand(Resources.Microsoft_plugin_sys_shutdown_computer_confirmation, () => Helper.OpenInShell("shutdown", "/s /hybrid /t 0"));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
new Result
|
new Result
|
||||||
|
Loading…
Reference in New Issue
Block a user