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:
Clint Rutkas 2022-02-08 08:20:01 -08:00 committed by GitHub
parent 11bb7ccf60
commit 651e823c30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System
IcoPath = $"Images\\shutdown.{IconTheme}.png",
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