diff --git a/Everything.cs b/Everything.cs index b3ef7ae..304b16c 100644 --- a/Everything.cs +++ b/Everything.cs @@ -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}");