File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Plugins/Flow.Launcher.Plugin.Program/Programs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ private static IEnumerable<Win32> PATHPrograms(string[] suffixes)
428
428
429
429
var paths = pathEnv . Split ( ";" , StringSplitOptions . RemoveEmptyEntries ) . DistinctBy ( p => p . ToLowerInvariant ( ) ) ;
430
430
431
- var toFilter = paths . SelectMany ( p => ProgramPaths ( p , suffixes , recursive : false ) ) ;
431
+ var toFilter = paths . AsParallel ( ) . SelectMany ( p => ProgramPaths ( p , suffixes , recursive : false ) ) ;
432
432
433
433
var programs = ExceptDisabledSource ( toFilter . Distinct ( ) )
434
434
. Select ( x => Extension ( x ) switch
@@ -437,7 +437,7 @@ private static IEnumerable<Win32> PATHPrograms(string[] suffixes)
437
437
UrlExtension => UrlProgram ( x ) ,
438
438
ExeExtension => ExeProgram ( x ) ,
439
439
_ => Win32Program ( x )
440
- } ) . Where ( x => x . Valid ) ;
440
+ } ) ;
441
441
return programs ;
442
442
}
443
443
You can’t perform that action at this time.
0 commit comments