Skip to content

fix: add postflight hook to remove macOS quarantine attribute#12

Closed
khooihzhz wants to merge 1 commit intomainfrom
fix/cask-quarantine-hook
Closed

fix: add postflight hook to remove macOS quarantine attribute#12
khooihzhz wants to merge 1 commit intomainfrom
fix/cask-quarantine-hook

Conversation

@khooihzhz
Copy link
Collaborator

Summary

  • Add hooks.post.install to homebrew_casks config to strip macOS Gatekeeper quarantine attribute on unsigned binaries
  • Prevents "cg Not Opened — Apple could not verify" popup on first run

Reference

Test plan

  • Merge and tag a new release
  • brew uninstall cg && brew install coingecko/coingecko-cli/cg
  • Run cg version — should work without Gatekeeper warning

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@khooihzhz khooihzhz requested a review from a team March 11, 2026 03:20
@khooihzhz
Copy link
Collaborator Author

I've decided to move back to brews based on this https://github.com/orgs/goreleaser/discussions/5563

@khooihzhz khooihzhz closed this Mar 11, 2026
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.

1 participant