Skip to content

Prevent update install from closing without launching installer#260

Merged
enaboapps merged 1 commit into
mainfrom
fix/verified-update-installer-launch-259
Jun 27, 2026
Merged

Prevent update install from closing without launching installer#260
enaboapps merged 1 commit into
mainfrom
fix/verified-update-installer-launch-259

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Summary

  • Replace the app-triggered autoUpdater.quitAndInstall(...) handoff with a verified Windows installer launcher.
  • Launch the cached installer through packaged elevate.exe with --updated --force-run.
  • Keep Switchify PC open and show a Settings error if the installer cannot be started.
  • Quit through the normal app cleanup path only after launcher startup succeeds.

Closes #259

Validation

  • npm test -- src/main/updates/update-installer-launcher.test.ts src/main/updates/update-service.test.ts src/main/updates/update-ipc.test.ts src/renderer/updates.test.ts
  • npm test
  • npm run build
  • rg -n quitAndInstall src confirms production usage was removed; remaining references are tests only.

@enaboapps enaboapps added this to the Release 0.1.17 milestone Jun 27, 2026
@enaboapps enaboapps force-pushed the fix/verified-update-installer-launch-259 branch from 42d7112 to 2bb1d7e Compare June 27, 2026 13:50
@enaboapps enaboapps merged commit 8e5ddd4 into main Jun 27, 2026
1 check passed
@enaboapps enaboapps deleted the fix/verified-update-installer-launch-259 branch June 27, 2026 14:09
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.

Prevent update install from closing without launching installer

2 participants