Skip to content

Commit 0929d34

Browse files
authored
merge PR #120: update Web Search plugin
do not activate if query is a directory/network path
2 parents 0c7298c + 05d62da commit 0929d34

File tree

1 file changed

+3
-0
lines changed
  • Plugins/Flow.Launcher.Plugin.WebSearch

1 file changed

+3
-0
lines changed

Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public void Save()
3333

3434
public List<Result> Query(Query query)
3535
{
36+
if (FilesFolders.IsLocationPathString(query.Search))
37+
return new List<Result>();
38+
3639
var searchSourceList = new List<SearchSource>();
3740
var results = new List<Result>();
3841

0 commit comments

Comments
 (0)