mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Refactored hotkey management to improve thread safety by replacing `Dictionary` with `ConcurrentDictionary` and introducing a lock for updates. Added new methods for hotkey initialization, validation, and translation updates. Enhanced plugin initialization by integrating hotkey checks and removing redundant calls. Refactored action keyword management with new methods for adding and removing keywords, ensuring thread safety with `TryAdd`, `AddOrUpdate`, and `TryRemove`. Introduced the `PluginHotkeyChangedEvent` class to encapsulate hotkey change events. Improved thread safety and performance by using thread-safe collections and LINQ. Cleaned up code by removing deprecated methods, redundant comments, and outdated TODOs. Fixed concurrency issues and ensured consistent updates to plugin metadata and hotkey information. |
||
|---|---|---|
| .. | ||
| JsonRPCV2Models | ||
| ExecutablePlugin.cs | ||
| ExecutablePluginV2.cs | ||
| IResultUpdateRegister.cs | ||
| JsonPRCModel.cs | ||
| JsonRPCConfigurationModel.cs | ||
| JsonRPCPlugin.cs | ||
| JsonRPCPluginBase.cs | ||
| JsonRPCPluginSettings.cs | ||
| JsonRPCPluginV2.cs | ||
| NodePlugin.cs | ||
| NodePluginV2.cs | ||
| PluginAssemblyLoader.cs | ||
| PluginConfig.cs | ||
| PluginInstaller.cs | ||
| PluginManager.cs | ||
| PluginsLoader.cs | ||
| ProcessStreamPluginV2.cs | ||
| PythonPlugin.cs | ||
| PythonPluginV2.cs | ||
| QueryBuilder.cs | ||
| README.md | ||
There are two kinds of plugins:
- System plugin Those plugins that action keyword is "*", those plugin doesn't need action keyword
- User Plugin Those plugins that contains customized action keyword