Add Glyph for open with

Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
This commit is contained in:
Florian Grabmeier 2024-01-16 22:59:46 +01:00
parent 1327250a6f
commit 8898a09aac

View file

@ -52,13 +52,13 @@ namespace Flow.Launcher.Plugin.Explorer
}
}
contextMenus.Add(CreateOpenContainingFolderResult(record));
if (record.Type == ResultType.File)
{
contextMenus.Add(CreateOpenWithMenu(record));
}
contextMenus.Add(CreateOpenContainingFolderResult(record));
if (record.WindowsIndexed)
{
contextMenus.Add(CreateOpenWindowsIndexingOptions());
@ -450,7 +450,8 @@ namespace Flow.Launcher.Plugin.Explorer
Process.Start("rundll32.exe", $"{Path.Combine(Environment.SystemDirectory, "shell32.dll")},OpenAs_RunDLL {record.FullPath}");
return true;
},
IcoPath = Constants.ShowContextMenuImagePath
IcoPath = Constants.ShowContextMenuImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue700"),
};
}