From 7f797b1039ced8e71b24322ce11afe9b336fd58e Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 21 Jul 2025 17:22:17 +0800 Subject: [PATCH] Add code comments --- Flow.Launcher.Core/Plugin/PluginManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs index 635690ce2..4e2ed0762 100644 --- a/Flow.Launcher.Core/Plugin/PluginManager.cs +++ b/Flow.Launcher.Core/Plugin/PluginManager.cs @@ -707,6 +707,8 @@ namespace Flow.Launcher.Core.Plugin public static bool PluginModified(string id) { + // We should consider initializing plugin as modified since it cannot be installed/uninstalled/updated and + // we cannot call any plugin methods return ModifiedPlugins.Contains(id) && _allInitializedPlugins.ContainsKey(id); }