mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
merge fix
This commit is contained in:
parent
40d06e96c5
commit
a67e719c8a
1 changed files with 2 additions and 2 deletions
|
|
@ -428,7 +428,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
|
||||
var paths = pathEnv.Split(";", StringSplitOptions.RemoveEmptyEntries).DistinctBy(p => p.ToLowerInvariant());
|
||||
|
||||
var toFilter = paths.SelectMany(p => ProgramPaths(p, suffixes, recursive: false));
|
||||
var toFilter = paths.AsParallel().SelectMany(p => ProgramPaths(p, suffixes, recursive: false));
|
||||
|
||||
var programs = ExceptDisabledSource(toFilter.Distinct())
|
||||
.Select(x => Extension(x) switch
|
||||
|
|
@ -437,7 +437,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
UrlExtension => UrlProgram(x),
|
||||
ExeExtension => ExeProgram(x),
|
||||
_ => Win32Program(x)
|
||||
}).Where(x => x.Valid);
|
||||
});
|
||||
return programs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue