1.12.3 #60

Merged
defnotken merged 91 commits from 1.12.3 into master 2025-10-24 14:22:21 +00:00
Showing only changes of commit 04c00af92e - Show all commits

View File

@@ -167,8 +167,10 @@ public class LightlessPlugin : MediatorSubscriberBase, IHostedService
}
else if (!string.Equals(lastSeen, currentVersion, StringComparison.Ordinal))
{
// TODO: actually check if setup is complete
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
if (_lightlessConfigService.Current.HasValidSetup() && _serverConfigurationManager.HasValidConfig())
{
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
}
_lightlessConfigService.Current.LastSeenVersion = currentVersion;
_lightlessConfigService.Save();
}