From d4a19537479233d0058cc9e4c7b4988a741c6656 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 21 Jul 2025 17:28:20 +0800 Subject: [PATCH] Add init failed plugins --- Flow.Launcher.Core/Plugin/PluginManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs index 3dc07c5ec..7f9a4a539 100644 --- a/Flow.Launcher.Core/Plugin/PluginManager.cs +++ b/Flow.Launcher.Core/Plugin/PluginManager.cs @@ -265,13 +265,13 @@ namespace Flow.Launcher.Core.Plugin { pair.Metadata.Disabled = true; pair.Metadata.HomeDisabled = true; - _initFailedPlugins.TryAdd(pair.Metadata.ID, pair); API.LogDebug(ClassName, $"Disable plugin <{pair.Metadata.Name}> because init failed"); } // Even if the plugin cannot be initialized, we still need to add it in all plugin list so that // we can remove the plugin from Plugin or Store page or Plugin Manager plugin. _allInitializedPlugins.TryAdd(pair.Metadata.ID, pair); + _initFailedPlugins.TryAdd(pair.Metadata.ID, pair); return; }