mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
display plugin icons in 'activate plugin' query
This commit is contained in:
@@ -52,7 +52,9 @@ namespace Wox.Plugin
|
||||
{
|
||||
get
|
||||
{
|
||||
if (string.IsNullOrEmpty(IcoPath)) return string.Empty;
|
||||
// Return the default icon if IcoPath is empty
|
||||
if (string.IsNullOrEmpty(IcoPath))
|
||||
return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Images\\work.png");
|
||||
|
||||
if (IcoPath.StartsWith("data:"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user