Add option to auto-update disabled plugins

This commit is contained in:
goaaats 2025-05-10 01:10:53 +02:00
parent b1c874c123
commit b4e62571a6
3 changed files with 10 additions and 1 deletions

View file

@ -460,7 +460,7 @@ internal class AutoUpdateManager : IServiceType
.Where(
p =>
!p.InstalledPlugin.IsDev && // Never update dev-plugins
p.InstalledPlugin.IsWantedByAnyProfile && // Never update plugins that are not wanted by any profile(not enabled)
(p.InstalledPlugin.IsWantedByAnyProfile || this.config.UpdateDisabledPlugins) && // Never update plugins that are not wanted by any profile(not enabled)
!p.InstalledPlugin.Manifest.ScheduledForDeletion); // Never update plugins that we want to get rid of
return updateablePlugins.Where(FilterPlugin).ToList();