mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
[PTRun][Enterprise]GPO for plugin enabled state (#27468)
* try code for gpo with pluginID param * fix typo * fixes * update admx * Add second policy to admx * spelling fixes * admx clean up * add gpo code * small fixes * fixes * fix cast * update settings code * bug fixes * fix plugins disabled warning * Info bar in settings * settings ui fixes * code clean up * fix spelling * fix spelling * code optimization * changes * fix code * switch to char* * update comments * validate plugin ID * spell fixes * spell fixes * fix IPlugin interface * Update Directory.Packages.props hopefully fixes unit tests * revert change of nuget pkg * fixes * fix spell check * add todo comment * improve gpo.h * improve gpo.h * update gpo.h * clean up code in gpo.h * fix build * try to fix build * xaml fix * Fix getting string value from the registry * communicate policy state suing settings.json * various changes and gpo docs * spell fixes * PT Run: Policy handling * spell fix * fix logging * fix admx revision * revision fix 2 * review feedback 1 * review feedback 2 * dev docs update * fix typo
This commit is contained in:
@@ -21,6 +21,8 @@ namespace Community.PowerToys.Run.Plugin.UnitConverter
|
||||
|
||||
public string Description => Properties.Resources.plugin_description;
|
||||
|
||||
public static string PluginID => "aa0ee9daff654fb7be452c2d77c471b9";
|
||||
|
||||
private PluginInitContext _context;
|
||||
private static string _icon_path;
|
||||
private bool _disposed;
|
||||
|
||||
@@ -23,6 +23,8 @@ namespace Community.PowerToys.Run.Plugin.VSCodeWorkspaces
|
||||
|
||||
public string Description => GetTranslatedPluginDescription();
|
||||
|
||||
public static string PluginID => "525995402BEF4A8CA860D92F6D108092";
|
||||
|
||||
public Main()
|
||||
{
|
||||
VSCodeInstances.LoadVSCodeInstances();
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace Community.PowerToys.Run.Plugin.ValueGenerator
|
||||
|
||||
public string Description => Resources.plugin_description;
|
||||
|
||||
public static string PluginID => "a26b1bb4dbd911edafa10242ac120002";
|
||||
|
||||
private PluginInitContext _context;
|
||||
private static bool _isLightTheme = true;
|
||||
private bool _disposed;
|
||||
|
||||
@@ -36,6 +36,8 @@ namespace Community.PowerToys.Run.Plugin.WebSearch
|
||||
|
||||
public string Description => Properties.Resources.plugin_description;
|
||||
|
||||
public static string PluginID => "9F1B49201C3F4BF781CAAD5CD88EA4DC";
|
||||
|
||||
public IEnumerable<PluginAdditionalOption> AdditionalOptions => new List<PluginAdditionalOption>()
|
||||
{
|
||||
new PluginAdditionalOption()
|
||||
|
||||
@@ -44,6 +44,8 @@ namespace Microsoft.Plugin.Folder
|
||||
|
||||
public string Description => Properties.Resources.wox_plugin_folder_plugin_description;
|
||||
|
||||
public static string PluginID => "B4D3B69656E14D44865C8D818EAE47C4";
|
||||
|
||||
public void Save()
|
||||
{
|
||||
_storage.Save();
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace Microsoft.Plugin.Indexer
|
||||
|
||||
public string Description => Properties.Resources.Microsoft_plugin_indexer_plugin_description;
|
||||
|
||||
public static string PluginID => "2140FC9819AD43A3A616E2735815C27C";
|
||||
|
||||
public IEnumerable<PluginAdditionalOption> AdditionalOptions => new List<PluginAdditionalOption>()
|
||||
{
|
||||
new PluginAdditionalOption()
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace Microsoft.Plugin.Program
|
||||
|
||||
public string Description => Properties.Resources.wox_plugin_program_plugin_description;
|
||||
|
||||
public static string PluginID => "791FC278BA414111B8D1886DFE447410";
|
||||
|
||||
private static PluginInitContext _context;
|
||||
private readonly PluginJsonStorage<ProgramPluginSettings> _settingsStorage;
|
||||
private bool _disposed;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace Microsoft.Plugin.Shell
|
||||
|
||||
public string Description => Properties.Resources.wox_plugin_cmd_plugin_description;
|
||||
|
||||
public static string PluginID => "D409510CD0D2481F853690A07E6DC426";
|
||||
|
||||
public IEnumerable<PluginAdditionalOption> AdditionalOptions => new List<PluginAdditionalOption>()
|
||||
{
|
||||
new PluginAdditionalOption()
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace Microsoft.Plugin.Uri
|
||||
|
||||
public string Description => Properties.Resources.Microsoft_plugin_uri_plugin_description;
|
||||
|
||||
public static string PluginID => "03276A39D4E9417C8FFD200B0EE5E871";
|
||||
|
||||
public List<ContextMenuResult> LoadContextMenus(Result selectedResult)
|
||||
{
|
||||
return new List<ContextMenuResult>(0);
|
||||
|
||||
@@ -29,6 +29,8 @@ namespace Microsoft.Plugin.WindowWalker
|
||||
|
||||
public string Description => Properties.Resources.wox_plugin_windowwalker_plugin_description;
|
||||
|
||||
public static string PluginID => "F737A9223560B3C6833B5FFB8CDF78E5";
|
||||
|
||||
internal static readonly VirtualDesktopHelper VirtualDesktopHelperInstance = new VirtualDesktopHelper();
|
||||
|
||||
public List<Result> Query(Query query)
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace Microsoft.PowerToys.Run.Plugin.Calculator
|
||||
|
||||
public string Description => Resources.wox_plugin_calculator_plugin_description;
|
||||
|
||||
public static string PluginID => "CEA0FDFC6D3B4085823D60DC76F28855";
|
||||
|
||||
private bool _disposed;
|
||||
|
||||
public IEnumerable<PluginAdditionalOption> AdditionalOptions => new List<PluginAdditionalOption>()
|
||||
|
||||
@@ -22,6 +22,8 @@ namespace Microsoft.PowerToys.Run.Plugin.History
|
||||
|
||||
public string Description => Resources.wox_plugin_history_plugin_description;
|
||||
|
||||
public static string PluginID => "C88512156BB74580AADF7252E130BA8D";
|
||||
|
||||
private bool _disposed;
|
||||
|
||||
public List<Result> Query(Query query)
|
||||
|
||||
@@ -59,6 +59,11 @@ namespace Microsoft.PowerToys.Run.Plugin.OneNote
|
||||
/// </summary>
|
||||
public string Description => Resources.PluginDescription;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin ID for validation
|
||||
/// </summary>
|
||||
public static string PluginID => "0778F0C264114FEC8A3DF59447CF0A74";
|
||||
|
||||
/// <summary>
|
||||
/// Initialize the plugin with the given <see cref="PluginInitContext"/>
|
||||
/// </summary>
|
||||
|
||||
@@ -21,6 +21,8 @@ namespace Microsoft.PowerToys.Run.Plugin.PowerToys
|
||||
|
||||
public string Description => Resources.Plugin_Description;
|
||||
|
||||
public static string PluginID => "29DD65DB28C84A37BDEF1D2B43DA368B";
|
||||
|
||||
public string GetTranslatedPluginTitle() => Resources.Plugin_Name;
|
||||
|
||||
public string GetTranslatedPluginDescription() => Resources.Plugin_Description;
|
||||
|
||||
@@ -46,6 +46,8 @@ namespace Microsoft.PowerToys.Run.Plugin.Registry
|
||||
|
||||
public string Description => Resources.PluginDescription;
|
||||
|
||||
public static string PluginID => "303417D927BF4C97BCFFC78A123BE0C8";
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Main"/> class.
|
||||
/// </summary>
|
||||
|
||||
@@ -23,6 +23,8 @@ namespace Microsoft.PowerToys.Run.Plugin.Service
|
||||
|
||||
public string Description => Resources.wox_plugin_service_plugin_description;
|
||||
|
||||
public static string PluginID => "11A6C36E4E91439CA69F702CBD364EF7";
|
||||
|
||||
public void Init(PluginInitContext context)
|
||||
{
|
||||
_context = context;
|
||||
|
||||
@@ -31,6 +31,8 @@ namespace Microsoft.PowerToys.Run.Plugin.System
|
||||
|
||||
public string Description => Resources.Microsoft_plugin_sys_plugin_description;
|
||||
|
||||
public static string PluginID => "CEA08895D2544B019B2E9C5009600DF4";
|
||||
|
||||
public string IconTheme { get; set; }
|
||||
|
||||
public bool IsBootedInUefiMode { get; set; }
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace Microsoft.PowerToys.Run.Plugin.TimeDate
|
||||
|
||||
public string Description => GetTranslatedPluginDescription();
|
||||
|
||||
public static string PluginID => "5D69806A5A474115821C3E4C56B9C793";
|
||||
|
||||
public IEnumerable<PluginAdditionalOption> AdditionalOptions
|
||||
{
|
||||
get
|
||||
|
||||
@@ -72,6 +72,11 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings
|
||||
/// </summary>
|
||||
public string Description => Resources.PluginDescription;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin ID for validation
|
||||
/// </summary>
|
||||
public static string PluginID => "5043CECEE6A748679CBE02D27D83747A";
|
||||
|
||||
/// <summary>
|
||||
/// Initialize the plugin with the given <see cref="PluginInitContext"/>.
|
||||
/// </summary>
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsTerminal
|
||||
|
||||
public string Description => Resources.plugin_description;
|
||||
|
||||
public static string PluginID => "F59BA85006B14389A72A0EA756695F1D";
|
||||
|
||||
public IEnumerable<PluginAdditionalOption> AdditionalOptions => new List<PluginAdditionalOption>()
|
||||
{
|
||||
new PluginAdditionalOption()
|
||||
|
||||
Reference in New Issue
Block a user