mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-04 20:21:18 +08:00
Filter duplicate program item
This commit is contained in:
parent
9177f4b47d
commit
eb094eaebb
@ -124,6 +124,10 @@ namespace Wox.Plugin.System
|
|||||||
});
|
});
|
||||||
installedList.AddRange(list);
|
installedList.AddRange(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// filter duplicate program
|
||||||
|
installedList = installedList.GroupBy(x => new { x.ExecutePath, x.ExecuteName })
|
||||||
|
.Select(g => g.First()).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ScoreFilter(Program p)
|
private void ScoreFilter(Program p)
|
||||||
|
Loading…
Reference in New Issue
Block a user