Repository navigation
feat(mac): add a launcher script that installs and updates the app - #162
Open
riteshshukla04 wants to merge 1 commit into
Open
riteshshukla04 wants to merge 1 commit into
riteshshukla04 wants to merge 1 commit into
Conversation
apps/mac/scripts/mobile-dev.sh installs the latest Mac app release when it is missing and opens it. After opening, it downloads a newer stable release in the background, using the same rules as the app's update check, and installs it on the next run while the app is closed, so an open session is never quit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@riteshshukla04 is attempting to deploy a commit to the Margelo Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
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.
Summary
Adds
apps/mac/scripts/mobile-dev.sh, a launcher for the standalone Mac app, and a README paragraph on installing it as amobile-devcommand.mobile-dev-<version>-mac-app-darwin-arm64.zipinto/Applications, then opens the app.~/Library/Caches/com.callstack.mobile-dev/launcher/staged.It follows the rules in
MacAppRelease.swift: only stablevX.Y.Ztags whose Mac asset is uploaded, and a stable release replaces a prerelease of the same version. It uses onlycurl,ditto,plutilandlsappinfo, so it needs neitherghnorjq.MOBILE_DEV_APPoverrides the install path.Safety details:
Test plan
Run against a scratch install path (
MOBILE_DEV_APP) on macOS 27 with releases 0.1.200 and 0.1.201:Updated Mobile Dev 0.1.200 to 0.1.201and opens 0.1.201.0.1.10vs0.1.9and a stable release over-betabuilds.shellcheckclean.🤖 Generated with Claude Code