Skip to content

fix: stop the auto-updater installing twice in one process - #1165

Merged
rowkav09 merged 1 commit into
mainfrom
fix/updater-repeat-install
Oct 10, 2026
Merged

rowkav09 merged 1 commit into
mainfrom
fix/updater-repeat-install

Conversation

@rowkav09

Copy link
Copy Markdown
Member

After a successful install the files on disk are new but the process is still running the old code. A second install-mode check now gets the first install result back instead of installing again, so the first rollback backup survives and a restart is needed before another install.

This is API-only today: createAutoUpdater is exported but nothing in the app calls it yet, so no runtime behaviour changes. One new test fails without the change.

After a successful install the files on disk are new but the running process is still the old code. A second install-mode check now returns the first install result instead of installing again, so the first rollback backup is kept and a restart is needed before another install.
@codecov

codecov Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@rowkav09
rowkav09 merged commit 3c90684 into main Oct 10, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant