Merge pull request #22 from jjw24/add_save_allsettings

Add to Sys plugin- save all Wox settings
This commit is contained in:
Jeremy Wu
2019-09-12 08:27:52 +10:00
committed by GitHub
3 changed files with 24 additions and 2 deletions

View File

@@ -168,6 +168,18 @@ namespace Wox.Plugin.Sys
}
},
new Result
{
Title = "Save Settings",
SubTitle = "Save all Wox settings",
IcoPath = "Images\\app.png",
Action = c =>
{
context.API.SaveAppAllSettings();
context.API.ShowMsg("Success","All Wox settings saved");
return true;
}
},
new Result
{
Title = "Restart Wox",
SubTitle = context.API.GetTranslation("wox_plugin_sys_restart"),