From 504fb4ae0588735635955ac5a580e01baafc6175 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Fri, 20 Jan 2023 14:02:04 +0800 Subject: [PATCH] Display environment vars in upper case --- .../Search/EnvironmentVariables.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/EnvironmentVariables.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/EnvironmentVariables.cs index c17277112..130de2ab1 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/EnvironmentVariables.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/EnvironmentVariables.cs @@ -52,8 +52,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search path = Path.IsPathFullyQualified(path) ? path : Path.GetFullPath(path); // Variables are returned with a mixture of all upper/lower case. - // Call ToLower() to make the results look consistent - envStringPaths.Add(special.Key.ToString().ToLower(), path); + // Call ToUpper() to make the results look consistent + envStringPaths.Add(special.Key.ToString().ToUpper(), path); } }