Fixed filters and " conflict (#120)

* Removed manual check of " to trigger patch matching, let Everything handle it instead

Closes #117 

---------

Co-authored-by: Lin Yu-Chieh (Victor) <victorlin@gapps.ntust.edu.tw>
This commit is contained in:
Mike L 2024-06-29 05:02:37 -04:00 committed by GitHub
parent de07555081
commit 94977419f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,13 +37,6 @@ namespace Community.PowerToys.Run.Plugin.Everything
}
string orgqry = query;
if (orgqry.Contains('\"') && !setting.MatchPath)
{
if (setting.Log > LogLevel.None)
Debugger.Write("MatchPath");
Everything_SetMatchPath(true);
}
if (setting.EnvVar && orgqry.Contains('%'))
{
@ -74,11 +67,6 @@ namespace Community.PowerToys.Run.Plugin.Everything
throw new Win32Exception("Unable to Query");
}
if (orgqry.Contains('\"') && !setting.MatchPath)
{
Everything_SetMatchPath(false);
}
uint resultCount = Everything_GetNumResults();
if (setting.Log > LogLevel.None)
Debugger.Write($"Results: {resultCount}");