Skip to content

fix: clear quarantine xattr in cask postflight#18

Merged
stupside merged 1 commit into
mainfrom
17-fails-to-run-without-modifying-xattr
Jul 19, 2026
Merged

fix: clear quarantine xattr in cask postflight#18
stupside merged 1 commit into
mainfrom
17-fails-to-run-without-modifying-xattr

Conversation

@stupside

Copy link
Copy Markdown
Owner

The darwin binaries are only ad-hoc signed (not Developer ID signed or notarized), so macOS Gatekeeper quarantines them on download and refuses to launch. Users had to manually run xattr -cr before castor would run.

Add a postflight stanza that strips the quarantine attribute from the staged binary, so brew install --cask stupside/tap/castor works out of the box with no manual step.

Closes #17

@stupside stupside linked an issue Jul 19, 2026 that may be closed by this pull request
…rew install

The darwin binaries are only ad-hoc signed (not Developer ID signed or
notarized), so macOS Gatekeeper quarantines them on download and refuses
to launch. Users had to manually run `xattr -cr` before castor would run.

Add a postflight stanza that strips the quarantine attribute from the
staged binary, so `brew install --cask stupside/tap/castor` works out of
the box with no manual step.

Closes #17
@stupside stupside changed the title fix: clear quarantine xattr in cask postflight so castor runs after b… fix: clear quarantine xattr in cask postflight Jul 19, 2026
@stupside
stupside force-pushed the 17-fails-to-run-without-modifying-xattr branch from 66ab40b to c425683 Compare July 19, 2026 16:24
@stupside
stupside merged commit 1d15a29 into main Jul 19, 2026
2 checks passed
@stupside
stupside deleted the 17-fails-to-run-without-modifying-xattr branch July 19, 2026 16:25
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.

fails to run without modifying xattr

1 participant