Add plugin to _hotkeyPlugins collection for tracking

Enhanced the plugin management system by adding the `pair` object to the `_hotkeyPlugins` collection in `PluginManager.cs`. This ensures that hotkey-enabled plugins are properly tracked and managed within the `Flow.Launcher.Core.Plugin` namespace.
This commit is contained in:
Jack251970 2025-10-16 21:14:06 +08:00
parent d8a4bbc73a
commit 8c95ddc7be

View file

@ -382,6 +382,7 @@ namespace Flow.Launcher.Core.Plugin
Settings.UpdatePluginHotkeyInfo(GetPluginHotkeyInfo(pair.Metadata.ID));
}
InitializeWindowPluginHotkey(pair);
_hotkeyPlugins.Add(pair);
}
}