mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add init failed plugins
This commit is contained in:
parent
b348debc72
commit
d4a1953747
1 changed files with 1 additions and 1 deletions
|
|
@ -265,13 +265,13 @@ namespace Flow.Launcher.Core.Plugin
|
|||
{
|
||||
pair.Metadata.Disabled = true;
|
||||
pair.Metadata.HomeDisabled = true;
|
||||
_initFailedPlugins.TryAdd(pair.Metadata.ID, pair);
|
||||
API.LogDebug(ClassName, $"Disable plugin <{pair.Metadata.Name}> because init failed");
|
||||
}
|
||||
|
||||
// Even if the plugin cannot be initialized, we still need to add it in all plugin list so that
|
||||
// we can remove the plugin from Plugin or Store page or Plugin Manager plugin.
|
||||
_allInitializedPlugins.TryAdd(pair.Metadata.ID, pair);
|
||||
_initFailedPlugins.TryAdd(pair.Metadata.ID, pair);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue