Skip to content

Desktop: Add desktop auto-updates#381

Merged
priethor merged 5 commits into
mainfrom
priethor/add/desktop-auto-updates
Jun 29, 2026
Merged

Desktop: Add desktop auto-updates#381
priethor merged 5 commits into
mainfrom
priethor/add/desktop-auto-updates

Conversation

@priethor

Copy link
Copy Markdown
Collaborator

What

Adds in-place updates for the signed macOS desktop app. Cortext now checks published GitHub Releases, downloads a newer build when one is available, and asks the user to restart once it is ready. The app menu gets update controls too. After an app update, Cortext refreshes the bundled WordPress/Cortext files in the extracted site without touching the user's database or uploads.

Why

Desktop releases should not require a fresh DMG install every time. We also need the extracted WordPress site to pick up the app's bundled code without wiping local data.

How

  • Publishing the mac update feed next to the DMG on GitHub Releases.
  • Tying download/install behavior to one app-menu setting.
  • Refreshing bundled site files after an app update while carrying user data forward.

Testing Instructions

  1. Build a signed desktop release and confirm the DMG, mac zip, zip blockmap, and latest-mac.yml are present.
  2. Install Cortext in Applications.
  3. Publish a newer test Release and choose Cortext > Check for Updates.
  4. Confirm Cortext downloads the update and asks to restart.
  5. Restart into the new version and confirm existing local content and uploads are still there.

@priethor priethor marked this pull request as ready for review June 29, 2026 15:25
@priethor priethor added area: desktop Desktop app, PHP runtime, snapshots, and desktop packaging. type: enhancement Improvement to existing behavior. labels Jun 29, 2026
@priethor priethor changed the title Add desktop auto-updates Desktop: Add desktop auto-updates Jun 29, 2026
@priethor priethor merged commit 0257878 into main Jun 29, 2026
14 of 15 checks passed
@priethor priethor deleted the priethor/add/desktop-auto-updates branch June 29, 2026 15:26
@github-actions github-actions Bot added this to the 0.2.0 milestone Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: desktop Desktop app, PHP runtime, snapshots, and desktop packaging. type: enhancement Improvement to existing behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant