Repository navigation
Desktop app: update in place, optional development builds (1.14.0) - #167
Merged
Merged
Conversation
… (1.14.0) "Update to vX" in the app's version window downloads this computer's file (size and SHA-256 checked), quits, and hands over: the Windows installer runs silently and reopens the app (/RELAUNCH=1 in meanap.iss); on a Mac a shell script swaps the .app in Applications and reopens it, putting the old one back if anything fails. The next start reports how it went. Fetched by the app rather than a browser, the file carries no download mark, so no Chrome or Gatekeeper warning. Falls back to the download page where it can't (Mac app not in Applications, folder not writable, files not built yet). "Also offer development builds" adds the per-merge pre-releases: dev-build.yml now calls desktop-app.yml to attach apps to each one, and removes the apps of all but the newest five dev builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X78uDckMcD2xCkAo9Hj7g8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes for app users
How
meanap.updates.check_apppicks this computer's file from the release: Windows, Apple-silicon Mac (also when an Intel build runs under Rosetta) or Intel Mac. With development builds ticked, it also considers dev pre-releases that already have that file attached.meanap.app_update:/SILENT /RELAUNCH=1.meanap.isshas a new[Run]entry for that relaunch..appout of the.dmg, swaps it in with two renames, and reopens it. If anything fails it puts the old app back.pending-update.json..dmg(translocated) or its folder isn't writable, or when the release's files aren't built yet.dev-build.ymlcallsdesktop-app.yml(nowworkflow_call) to attach apps to each dev pre-release.Tests
python/test_desktop_app.py: 27 tests, all passing. They cover:hdiutil,dittoandopen, in both the success and the put-back-on-failure case;🤖 Generated with Claude Code
https://claude.ai/code/session_01X78uDckMcD2xCkAo9Hj7g8