Skip to content

Commit 24afcb2

Browse files
minor fix
1 parent ac7a1a7 commit 24afcb2

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ private static IEnumerable<Win32> PATHPrograms(string[] suffixes)
381381
return Array.Empty<Win32>();
382382
}
383383

384-
var paths = pathEnv.Split(";", StringSplitOptions.RemoveEmptyEntries).DistinctBy(p => p.ToLower());
384+
var paths = pathEnv.Split(";", StringSplitOptions.RemoveEmptyEntries).DistinctBy(p => p.ToLowerInvariant());
385385

386386
var toFilter = paths.SelectMany(p => ProgramPaths(p, suffixes, recursive:false));
387387

0 commit comments

Comments
 (0)