mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
prevent duplication from loading start menu programs
This commit is contained in:
parent
217760148c
commit
4945767bd8
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ namespace Wox.Plugin.Program.Programs
|
|||
var paths = toFilter
|
||||
.Where(t1 => !disabledProgramsList.Any(x => x.UniqueIdentifier == t1))
|
||||
.Select(t1 => t1)
|
||||
.Distinct()
|
||||
.ToArray();
|
||||
|
||||
var programs1 = paths.AsParallel().Where(p => Extension(p) == ShortcutExtension).Select(LnkProgram);
|
||||
|
|
|
|||
Loading…
Reference in a new issue