Skip to content

Add verified automatic updates#4

Merged
xptea merged 1 commit into
mainfrom
agent/automatic-updates
Jul 13, 2026
Merged

Add verified automatic updates#4
xptea merged 1 commit into
mainfrom
agent/automatic-updates

Conversation

@xptea

@xptea xptea commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • check a strict version manifest on installed interactive startup and add explicit --update/--no-update controls
  • download the exact tag-specific setup asset and verify SHA-256 with Windows CNG before execution
  • hand off after the monitor exits, then relaunch with the original interactive arguments
  • keep JSON, one-shot, version, help, demo, redirected output, and portable auto-start paths network-free
  • publish version.txt plus checksums and add a post-release live update/install/relaunch/uninstall smoke test

Security and behavior

  • updates are per-user and never request elevation
  • HTTPS downgrade, malformed/oversized manifests, path-like filenames, oversized installers, and checksum mismatches are rejected
  • offline failures fail open into the existing monitor
  • --no-update and VGPU_MON_NO_UPDATE=1 disable automatic checks

Validation

  • Debug CRT leak checks and native/ConPTY/CLI tests
  • optimized Release tests and PE mitigation/static-runtime verification
  • MSVC AddressSanitizer
  • MSVC /analyze
  • package and Inno Setup creation
  • installer/bootstrap checksum rejection, PATH, upgrade, and exact uninstall restoration
  • release workflow includes a real post-publication GitHub update lifecycle smoke test

Comment thread src/updater.c Fixed
@xptea
xptea marked this pull request as ready for review July 13, 2026 20:20
@xptea
xptea force-pushed the agent/automatic-updates branch from bd319a5 to cb3cbec Compare July 13, 2026 20:22
@xptea
xptea merged commit 7aa5cd7 into main Jul 13, 2026
3 checks passed
@xptea
xptea deleted the agent/automatic-updates branch July 13, 2026 20:26
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.

2 participants