mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Fix default icon path when add new web search
This commit is contained in:
@@ -23,12 +23,16 @@ namespace Wox.Plugin.WebSearch
|
|||||||
IconPath = Path.Combine(WebSearchPlugin.PluginDirectory, WebSearchPlugin.ImageDirectory, value);
|
IconPath = Path.Combine(WebSearchPlugin.PluginDirectory, WebSearchPlugin.ImageDirectory, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All icon should be put under Images directory
|
/// All icon should be put under Images directory
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[NotNull]
|
[NotNull]
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
internal string IconPath { get; private set; }
|
internal string IconPath { get; private set; } = Path.Combine
|
||||||
|
(
|
||||||
|
WebSearchPlugin.PluginDirectory, WebSearchPlugin.ImageDirectory, DefaultIcon
|
||||||
|
);
|
||||||
|
|
||||||
public string Url { get; set; }
|
public string Url { get; set; }
|
||||||
public bool Enabled { get; set; }
|
public bool Enabled { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user