mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
Add command for user to call in Plugin.Sys
This commit is contained in:
@@ -207,6 +207,17 @@ namespace Wox.Plugin.Sys
|
|||||||
context.API.OpenSettingDialog();
|
context.API.OpenSettingDialog();
|
||||||
return true;
|
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;
|
return results;
|
||||||
|
|||||||
Reference in New Issue
Block a user