Add to Sys plugin- save all Wox settings

This commit is contained in:
Jeremy Wu
2019-08-22 21:37:36 +10:00
parent dedac39d99
commit c0c55a7af8
4 changed files with 28 additions and 2 deletions

View File

@@ -168,6 +168,18 @@ namespace Wox.Plugin.Sys
}
},
new Result
{
Title = context.API.GetTranslation("wox_plugin_sys_save_command"),
SubTitle = context.API.GetTranslation("wox_plugin_sys_save"),
IcoPath = "Images\\app.png",
Action = c =>
{
context.API.SaveAppAllSettings();
context.API.ShowMsg(string.Format(context.API.GetTranslation("wox_plugin_sys_save_success")));
return true;
}
},
new Result
{
Title = "Restart Wox",
SubTitle = context.API.GetTranslation("wox_plugin_sys_restart"),