Add open with shell context menu for non-Windows indexed folders

This commit is contained in:
Vic 2022-12-20 20:16:17 +08:00
parent c428df034d
commit 3dac240a40

View file

@ -42,11 +42,15 @@ namespace Flow.Launcher.Plugin.Explorer
if (record.Type == ResultType.File && !string.IsNullOrEmpty(Settings.EditorPath))
contextMenus.Add(CreateOpenWithEditorResult(record));
if (record.Type == ResultType.Folder && record.WindowsIndexed)
if (record.Type == ResultType.Folder)
{
contextMenus.Add(CreateAddToIndexSearchExclusionListResult(record));
contextMenus.Add(CreateOpenWithShellResult(record));
if (record.WindowsIndexed)
{
contextMenus.Add(CreateAddToIndexSearchExclusionListResult(record));
}
}
contextMenus.Add(CreateOpenContainingFolderResult(record));
if (record.WindowsIndexed)