mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
[PowerToys Run] Plugin manager (#9872)
This commit is contained in:
@@ -15,7 +15,7 @@ using Wox.Plugin;
|
||||
|
||||
namespace Microsoft.Plugin.Folder
|
||||
{
|
||||
public class Main : IPlugin, ISettingProvider, IPluginI18n, ISavable, IContextMenu, IDisposable
|
||||
public class Main : IPlugin, IPluginI18n, ISavable, IContextMenu, IDisposable
|
||||
{
|
||||
public const string FolderImagePath = "Images\\folder.dark.png";
|
||||
public const string FileImagePath = "Images\\file.dark.png";
|
||||
@@ -38,6 +38,10 @@ namespace Microsoft.Plugin.Folder
|
||||
private IContextMenu _contextMenuLoader;
|
||||
private bool _disposed;
|
||||
|
||||
public string Name => Properties.Resources.wox_plugin_folder_plugin_name;
|
||||
|
||||
public string Description => Properties.Resources.wox_plugin_folder_plugin_description;
|
||||
|
||||
public void Save()
|
||||
{
|
||||
_storage.Save();
|
||||
@@ -119,10 +123,6 @@ namespace Microsoft.Plugin.Folder
|
||||
return _contextMenuLoader.LoadContextMenus(selectedResult);
|
||||
}
|
||||
|
||||
public void UpdateSettings(PowerLauncherSettings settings)
|
||||
{
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(disposing: true);
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace Microsoft.Plugin.Folder.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open favorite folder from PowerToys Run directly.
|
||||
/// Looks up a localized string similar to Navigates folders starting from a drive letter 'C:\' or from the user home '~'..
|
||||
/// </summary>
|
||||
public static string wox_plugin_folder_plugin_description {
|
||||
get {
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
<value>Folder</value>
|
||||
</data>
|
||||
<data name="wox_plugin_folder_plugin_description" xml:space="preserve">
|
||||
<value>Open favorite folder from PowerToys Run directly</value>
|
||||
<value>Navigates folders starting from a drive letter 'C:\' or from the user home '~'.</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_folder_copy_path" xml:space="preserve">
|
||||
<value>Copy path (Ctrl+C)</value>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"ActionKeyword": "",
|
||||
"IsGlobal": true,
|
||||
"Name": "Folder",
|
||||
"Description": "Search and open folders",
|
||||
"Author": "qianlifeng",
|
||||
"Version": "1.0.0",
|
||||
"Language": "csharp",
|
||||
|
||||
Reference in New Issue
Block a user