mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Fix applicationDirectory issues and add plugin debuggerMode
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Wox.Plugin.System
|
||||
{
|
||||
Title = c.Name,
|
||||
SubTitle = "Bookmark: " + c.Url,
|
||||
IcoPath = Directory.GetCurrentDirectory() + @"\Images\bookmark.png",
|
||||
IcoPath = Path.GetDirectoryName(Application.ExecutablePath) + @"\Images\bookmark.png",
|
||||
Score = 5,
|
||||
Action = (e) =>
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Wox.Plugin.System
|
||||
public class CMD : BaseSystemPlugin
|
||||
{
|
||||
private Dictionary<string, int> cmdHistory = new Dictionary<string, int>();
|
||||
private string filePath = Directory.GetCurrentDirectory() + "\\CMDHistory.dat";
|
||||
private string filePath = Path.GetDirectoryName(Application.ExecutablePath) + "\\CMDHistory.dat";
|
||||
private PluginInitContext context;
|
||||
|
||||
protected override List<Result> QueryInternal(Query query)
|
||||
|
||||
Reference in New Issue
Block a user