mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Mark initializing plugins as modified
This commit is contained in:
parent
6d99416641
commit
9149e3f201
2 changed files with 3 additions and 2 deletions
|
|
@ -713,7 +713,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
public static bool PluginModified(string id)
|
||||
{
|
||||
return ModifiedPlugins.Contains(id);
|
||||
return ModifiedPlugins.Contains(id) && _allInitializedPlugins.ContainsKey(id);
|
||||
}
|
||||
|
||||
public static async Task<bool> UpdatePluginAsync(PluginMetadata existingVersion, UserPlugin newVersion, string zipFilePath)
|
||||
|
|
|
|||
|
|
@ -534,7 +534,8 @@ namespace Flow.Launcher.Plugin
|
|||
|
||||
/// <summary>
|
||||
/// Check if the plugin has been modified.
|
||||
/// If this plugin is updated, installed or uninstalled and users do not restart the app,
|
||||
/// If this plugin is initializing, it will be marked as modified.
|
||||
/// Or if this plugin is updated, installed or uninstalled and users do not restart the app,
|
||||
/// it will be marked as modified
|
||||
/// </summary>
|
||||
/// <param name="id">Plugin id</param>
|
||||
|
|
|
|||
Loading…
Reference in a new issue