Merge pull request #3786 from Flow-Launcher/removePluginSettings

Fix Plugin Uninstallation Issue
This commit is contained in:
Jack Ye 2025-07-01 07:28:20 +08:00 committed by GitHub
commit 09883130ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -552,9 +552,9 @@ namespace Flow.Launcher.Core.Plugin
InstallPlugin(plugin, zipFilePath, checkModified: true);
}
public static async Task UninstallPluginAsync(PluginMetadata plugin, bool removePluginFromSettings = true, bool removePluginSettings = false)
public static async Task UninstallPluginAsync(PluginMetadata plugin, bool removePluginSettings = false)
{
await UninstallPluginAsync(plugin, removePluginFromSettings, removePluginSettings, true);
await UninstallPluginAsync(plugin, removePluginFromSettings: true, removePluginSettings: removePluginSettings, checkModified: true);
}
#endregion