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
390
390
_ => Win32Program ( x )
391
391
} ) ;
392
392
393
-
394
393
return programs ;
395
394
}
396
395
@@ -411,7 +410,7 @@ private static IEnumerable<Win32> StartMenuPrograms(string[] suffixes)
411
410
ShortcutExtension => LnkProgram ( x ) ,
412
411
UrlExtension => UrlProgram ( x ) ,
413
412
_ => Win32Program ( x )
414
- } ) . Where ( x => x . Valid ) ;
413
+ } ) ;
415
414
return programs ;
416
415
}
417
416
@@ -569,7 +568,7 @@ public static Win32[] All(Settings settings)
569
568
570
569
autoIndexPrograms = ProgramsHasher ( autoIndexPrograms ) ;
571
570
572
- return programs . Concat ( autoIndexPrograms ) . Distinct ( ) . ToArray ( ) ;
571
+ return programs . Concat ( autoIndexPrograms ) . Where ( x => x . Valid ) . Distinct ( ) . ToArray ( ) ;
573
572
}
574
573
#if DEBUG //This is to make developer aware of any unhandled exception and add in handling.
575
574
catch ( Exception )
You can’t perform that action at this time.
0 commit comments