mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Check after merging all win32 programs
This commit is contained in:
parent
165aa90da1
commit
b8a68febcd
1 changed files with 4 additions and 4 deletions
|
|
@ -388,7 +388,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
ShortcutExtension => LnkProgram(x),
|
ShortcutExtension => LnkProgram(x),
|
||||||
UrlExtension => UrlProgram(x),
|
UrlExtension => UrlProgram(x),
|
||||||
_ => Win32Program(x)
|
_ => Win32Program(x)
|
||||||
}).Where(x => x.Valid);
|
});
|
||||||
|
|
||||||
return programs;
|
return programs;
|
||||||
}
|
}
|
||||||
|
|
@ -410,7 +410,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
ShortcutExtension => LnkProgram(x),
|
ShortcutExtension => LnkProgram(x),
|
||||||
UrlExtension => UrlProgram(x),
|
UrlExtension => UrlProgram(x),
|
||||||
_ => Win32Program(x)
|
_ => Win32Program(x)
|
||||||
}).Where(x => x.Valid);
|
});
|
||||||
return programs;
|
return programs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -439,7 +439,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
|
|
||||||
var filtered = ExceptDisabledSource(toFilter);
|
var filtered = ExceptDisabledSource(toFilter);
|
||||||
|
|
||||||
return filtered.Select(GetProgramFromPath).Where(x => x.Valid).ToList(); // ToList due to disposing issue
|
return filtered.Select(GetProgramFromPath).ToList(); // ToList due to disposing issue
|
||||||
}
|
}
|
||||||
|
|
||||||
private static IEnumerable<string> GetPathFromRegistry(RegistryKey root)
|
private static IEnumerable<string> GetPathFromRegistry(RegistryKey root)
|
||||||
|
|
@ -568,7 +568,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
|
|
||||||
autoIndexPrograms = ProgramsHasher(autoIndexPrograms);
|
autoIndexPrograms = ProgramsHasher(autoIndexPrograms);
|
||||||
|
|
||||||
return programs.Concat(autoIndexPrograms).Distinct().ToArray();
|
return programs.Concat(autoIndexPrograms).Where(x => x.Valid).Distinct().ToArray();
|
||||||
}
|
}
|
||||||
#if DEBUG //This is to make developer aware of any unhandled exception and add in handling.
|
#if DEBUG //This is to make developer aware of any unhandled exception and add in handling.
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue