Skip to content

[pull] dev from Flow-Launcher:dev#562

Merged
pull[bot] merged 11 commits intoonesounds:devfrom
Flow-Launcher:dev
Mar 1, 2026
Merged

[pull] dev from Flow-Launcher:dev#562
pull[bot] merged 11 commits intoonesounds:devfrom
Flow-Launcher:dev

Conversation

@pull
Copy link

@pull pull bot commented Mar 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Jack251970 and others added 11 commits February 27, 2026 18:30
Introduced MinimumAppVersion property to PluginMetadata, enabling plugins to specify required Flow Launcher version. Plugin installation now checks this requirement and prompts users if unsatisfied. Minimum app version logic moved to PluginManager and applied to manifest updates. Added localized strings for user prompts. Refactored SameOrLesserPluginVersionExists to accept PluginMetadata.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Previously, installing a plugin with an invalid or corrupted plugin.json would cause an unhandled exception. Now, deserialization errors are caught, a user-friendly error message is shown, and the exception is logged. Added a new localized error message for this scenario in en.xaml.
Refactored the plugin minimum app version check to use Version.TryParse instead of try-catch with Version.Parse, preventing exceptions on invalid input. Improved error handling by logging parse failures as errors and version mismatches as info, making the logic clearer and more robust.
Throw a JsonException if deserializing plugin metadata from JSON returns null. This prevents null metadata from being used and improves error handling for invalid or corrupted plugin.json files.
Improved the message shown when a plugin requires a newer Flow Launcher version by adding line breaks for clarity and updating the title wording. Adjusted code to pass Environment.NewLine and modified resource strings in en.xaml to support the new format.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Logging when a plugin's minimum Flow Launcher version is not met
has been removed. The method now returns false without logging
any informational message.
Add MinimumAppVersion support for plugin.json
@pull pull bot locked and limited conversation to collaborators Mar 1, 2026
@pull pull bot added the ⤵️ pull label Mar 1, 2026
@pull pull bot merged commit dda9000 into onesounds:dev Mar 1, 2026
3 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant