fix: set updating flag to false when update is complete

This commit is contained in:
Siyuan 2025-11-18 15:59:01 +00:00
parent 999c8c79b0
commit b8af39cae9
1 changed files with 3 additions and 0 deletions

View File

@ -253,6 +253,9 @@ func (s *State) doUpdate(ctx context.Context, params UpdateParams) error {
scopedLogger.Info().Msg("System is up to date")
}
s.updating = false
s.triggerStateUpdate()
if s.rebootNeeded {
if appUpdate.customVersionUpdate || systemUpdate.customVersionUpdate {
scopedLogger.Info().Msg("disabling auto-update due to custom version update")