File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Plugins/Flow.Launcher.Plugin.Program/Programs Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,6 @@ private static IEnumerable<Win32> UnregisteredPrograms(List<Settings.ProgramSour
390390 _ => Win32Program ( x )
391391 } ) ;
392392
393-
394393 return programs ;
395394 }
396395
@@ -411,7 +410,7 @@ private static IEnumerable<Win32> StartMenuPrograms(string[] suffixes)
411410 ShortcutExtension => LnkProgram ( x ) ,
412411 UrlExtension => UrlProgram ( x ) ,
413412 _ => Win32Program ( x )
414- } ) . Where ( x => x . Valid ) ;
413+ } ) ;
415414 return programs ;
416415 }
417416
@@ -569,7 +568,7 @@ public static Win32[] All(Settings settings)
569568
570569 autoIndexPrograms = ProgramsHasher ( autoIndexPrograms ) ;
571570
572- return programs . Concat ( autoIndexPrograms ) . Distinct ( ) . ToArray ( ) ;
571+ return programs . Concat ( autoIndexPrograms ) . Where ( x => x . Valid ) . Distinct ( ) . ToArray ( ) ;
573572 }
574573#if DEBUG //This is to make developer aware of any unhandled exception and add in handling.
575574 catch ( Exception )
You can’t perform that action at this time.
0 commit comments