Remove PluginDebugger

This commit is contained in:
bao-qian
2015-10-31 18:20:43 +00:00
parent 9d9400f4d9
commit 1616aa87bd
4 changed files with 1 additions and 36 deletions

View File

@@ -28,11 +28,6 @@ namespace Wox.Core.Plugin
ParsePluginConfigs(pluginDirectory);
}
if (PluginManager.DebuggerMode != null)
{
PluginMetadata metadata = GetPluginMetadata(PluginManager.DebuggerMode);
if (metadata != null) pluginMetadatas.Add(metadata);
}
return pluginMetadatas;
}

View File

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
@@ -28,7 +27,6 @@ namespace Wox.Core.Plugin
private static List<KeyValuePair<PluginPair, IExclusiveQuery>> exclusiveSearchPlugins;
private static List<KeyValuePair<PluginPair, IContextMenu>> contextMenuPlugins;
public static String DebuggerMode { get; private set; }
public static IPublicAPI API { get; private set; }
private static List<PluginPair> plugins = new List<PluginPair>();
@@ -167,11 +165,6 @@ namespace Wox.Core.Plugin
return metadata.ActionKeyword == ActionKeywordWildcardSign;
}
public static void ActivatePluginDebugger(string path)
{
DebuggerMode = path;
}
public static bool IsInstantQuery(string query)
{
return LoadInstantSearches().Any(o => o.Value.IsInstantQuery(query));