Repository navigation
feat(scripts): one-command macOS install for fork desktop builds - #11
Merged
Merged
Conversation
Fork desktop builds are not Developer ID signed, so a DMG downloaded in a browser is quarantined and Gatekeeper refuses to open it until the quarantine attribute is cleared by hand after every release. scripts/install-fork-mac.sh downloads the newest release (or --tag) with gh, which does not quarantine files, checks the zip against the release manifest's sha512, and swaps it into /Applications. It quits the installed copy only when that copy is running (after asking), restores the previous app if the copy fails, and exits early when that version is already installed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fork desktop builds are not Developer ID signed or notarized: no Apple signing secrets are configured, so CI ships linker-signed ad-hoc apps. A DMG downloaded in a browser gets
com.apple.quarantine, and Gatekeeper refuses to open it until that attribute is cleared by hand. That has to be repeated after every release, since in-app updates on macOS also need a real signature.Fix
scripts/install-fork-mac.shinstalls a release without a browser:--tag) and downloads this Mac's zip withgh, which does not quarantine files.*-mac.yml. Acodesign --verifycan't stand in here because these builds have no sealed resources.dittoand swaps the app into/Applications(or--dest). If the copy fails, the previous app is restored.--yesskips the prompt), then reopens it (--no-relaunchto skip).--forceto reinstall).T3_FORK_REPOpoints it at another fork.Verification
com.apple.provenance, the same as the working copy in/Applications).--forcereinstalls cleanly./Applications/T3 Code (Nightly).appand not a copy elsewhere./Applicationsapp, because it would quit the T3 Code this was developed in. The next nightly is the first real run.vp run check:changedpasses.Done by Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code