Add command for user to call in Plugin.Sys

This commit is contained in:
Jeremy Wu
2019-10-06 13:45:36 +11:00
parent 96660ebd2a
commit 8ca6e8c478

View File

@@ -207,6 +207,17 @@ namespace Wox.Plugin.Sys
context.API.OpenSettingDialog();
return true;
}
},
new Result
{
Title = "Reload Plugin Data",
SubTitle = "Reloads plugin's data with new content added after Wox started. Plugins need to have this feature already added.",
IcoPath = "Images\\app.png",
Action = c =>
{
context.API.ReloadPluginData();
return true;
}
}
});
return results;