Skip to content

fix: defer Windows updater swap until exit - #4

Open
Smugcurve13 wants to merge 1 commit into
mainfrom
fix/windows-updater-swap
Open

fix: defer Windows updater swap until exit#4
Smugcurve13 wants to merge 1 commit into
mainfrom
fix/windows-updater-swap

Conversation

@Smugcurve13

Copy link
Copy Markdown
Owner

Summary

  • stage the replacement executable and swap it only after the running app exits
  • relaunch the existing app after a successful swap or any swap/rollback failure
  • add updater regression coverage and run it in both build workflows
  • bump the hotfix version to 1.2.2

Validation

  • uv run --python 3.12 --with certifi python tests/test_updater.py (2 passed)
  • git diff --check origin/main...HEAD

Platform note

The delayed swap behavior needs final installer/relaunch validation on Windows.

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