mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Added Plugin for searching additional directories
This commit is contained in:
@@ -30,7 +30,8 @@ namespace Wox.Plugin.SystemPlugins
|
||||
InitialDriverList();
|
||||
|
||||
var input = query.RawQuery.ToLower();
|
||||
if (driverNames.FirstOrDefault(x => input.StartsWith(x)) == null) return results;
|
||||
//if (driverNames.FirstOrDefault(x => input.StartsWith(x)) == null) return results;
|
||||
if (!driverNames.Any(x => input.StartsWith(x))) return results;
|
||||
|
||||
if (Directory.Exists(query.RawQuery))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user