From 3dac240a4015e5e14611913348545b1ebbef13ca Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Tue, 20 Dec 2022 20:16:17 +0800 Subject: [PATCH] Add open with shell context menu for non-Windows indexed folders --- Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs index 4733e09e9..979b4cd8c 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs @@ -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)