Skip to content

feat: check for updates on every open and update by itself - #283

Merged
nextestudios merged 1 commit into
mainfrom
feat/auto-update-on-open
Sep 30, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feat/auto-update-on-open

Conversation

@nextestudios

Copy link
Copy Markdown
Owner
  • The automatic check now runs on every open (was: at most once a day); the Atualizar sozinho ao abrir setting (AutoInstallUpdates, default on) lets an installed build download the verified update (same signed manifest + SHA-256 + size path as before) and install + relaunch right away when the user hasn't acted since launch, no modal is open and no operation is running. Otherwise the existing 'Instalar e reiniciar / Depois' notice stays.
  • Guards: installed only (portable just notifies); off in CI, with --no-auto-update or CONTROLFS_NO_AUTO_UPDATE (so smoke/test launches don't exit); never retries the same version twice in a row (LastAutoInstallAttempt) to avoid a restart loop; setting in Menu → Configurações → Atualizações.
  • Tests: unit for on-open install, user already acted, setting off, portable, CI switch, retry guard, every-open check. Docs/CHANGELOG (both)/PRIVACY updated.

Touches startup/updates: full smoke on this branch.

🤖 Generated with Claude Code

…ng was started

Installed build only, verified update only, never over a user who already started using the app,
never in CI, never retries the same version twice in a row.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nextestudios
nextestudios merged commit 623e862 into main Sep 30, 2026
3 checks passed
@nextestudios
nextestudios deleted the feat/auto-update-on-open branch September 30, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant