From ac7a1a7ce817366341cc425f23ed6bdc26cca6d2 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Mon, 31 Oct 2022 22:02:10 +0800 Subject: [PATCH] Revert "Remove duplicate win32 programs" This reverts commit d5d141f9db6d8c2e96cfbb96246db3405de58df6. --- Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs index 8821ef817..32fcc9082 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs @@ -554,7 +554,7 @@ namespace Flow.Launcher.Plugin.Program.Programs autoIndexPrograms = ProgramsHasher(autoIndexPrograms); - return ProgramsHasher(programs.Concat(autoIndexPrograms)).ToArray(); + return programs.Concat(autoIndexPrograms).Distinct().ToArray(); } #if DEBUG //This is to make developer aware of any unhandled exception and add in handling. catch (Exception)