mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-08 11:57:59 +08:00
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:
parent
de07555081
commit
94977419f6
@ -37,14 +37,7 @@ 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('%'))
|
||||
{
|
||||
query = Environment.ExpandEnvironmentVariables(query).Replace(';', '|');
|
||||
@ -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}");
|
||||
|
Loading…
Reference in New Issue
Block a user