Skip to content

Commit 3dac240

Browse files
Add open with shell context menu for non-Windows indexed folders
1 parent c428df0 commit 3dac240

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,15 @@ public List<Result> LoadContextMenus(Result selectedResult)
4242
if (record.Type == ResultType.File && !string.IsNullOrEmpty(Settings.EditorPath))
4343
contextMenus.Add(CreateOpenWithEditorResult(record));
4444

45-
if (record.Type == ResultType.Folder && record.WindowsIndexed)
45+
if (record.Type == ResultType.Folder)
4646
{
47-
contextMenus.Add(CreateAddToIndexSearchExclusionListResult(record));
4847
contextMenus.Add(CreateOpenWithShellResult(record));
48+
if (record.WindowsIndexed)
49+
{
50+
contextMenus.Add(CreateAddToIndexSearchExclusionListResult(record));
51+
}
4952
}
53+
5054
contextMenus.Add(CreateOpenContainingFolderResult(record));
5155

5256
if (record.WindowsIndexed)

0 commit comments

Comments
 (0)