mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Add browse more plugin and theme link to setting dialog.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Wox.Infrastructure.Storage.UserSettings;
|
||||
|
||||
@@ -14,6 +15,19 @@ namespace Wox.Plugin.SystemPlugins
|
||||
public virtual string Description { get { return "System workflow"; } }
|
||||
public virtual string IcoPath { get { return null; } }
|
||||
|
||||
public string FullIcoPath
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IcoPath.StartsWith("data:"))
|
||||
{
|
||||
return IcoPath;
|
||||
}
|
||||
|
||||
return Path.Combine(PluginDirectory, IcoPath);
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract List<Result> QueryInternal(Query query);
|
||||
|
||||
protected abstract void InitInternal(PluginInitContext context);
|
||||
|
||||
Reference in New Issue
Block a user