[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:
Chris
2021-07-28 08:37:30 -05:00
committed by GitHub
parent 9731cdee67
commit 04636339ce
5 changed files with 180 additions and 24 deletions

View File

@@ -80,6 +80,7 @@ namespace Wox.Plugin
Metadata.ActionKeyword = setting.ActionKeyword;
Metadata.IsGlobal = setting.IsGlobal;
if (Plugin is ISettingProvider)
{
(Plugin as ISettingProvider).UpdateSettings(setting);