mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Powertoys Run] Add setting to confirm system commands (#12427)
* HTTPS by default, HTTP only if specified * Added/Updated unit tests;Added FTPS * Added confirmation to system messages such as shutdown, reboot, and lock * Corrected Typo * Added confirmation to system messages such as shutdown, reboot, and lock * Corrected Typo * Made changes requested by @mykhailopylyp * Further changes per review by mykhailopylyp * Fixes per code review
This commit is contained in:
@@ -80,6 +80,7 @@ namespace Wox.Plugin
|
||||
|
||||
Metadata.ActionKeyword = setting.ActionKeyword;
|
||||
Metadata.IsGlobal = setting.IsGlobal;
|
||||
|
||||
if (Plugin is ISettingProvider)
|
||||
{
|
||||
(Plugin as ISettingProvider).UpdateSettings(setting);
|
||||
|
||||
Reference in New Issue
Block a user