diff --git a/Casks/brewbar.rb b/Casks/brewbar.rb index b182342..a2addc1 100644 --- a/Casks/brewbar.rb +++ b/Casks/brewbar.rb @@ -16,4 +16,11 @@ cask "brewbar" do "~/Library/Application Support/BrewBar", "~/Library/Preferences/com.MaxSoch.BrewBar.plist", ] + + caveats <<~EOS + BrewBar is not notarized. On any Mac that did not build it, clear the + quarantine flag after install or upgrade, or Gatekeeper will block it: + + xattr -dr com.apple.quarantine /Applications/BrewBar.app + EOS end diff --git a/RELEASING.md b/RELEASING.md index 0c289ff..be0168c 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -55,11 +55,17 @@ together). The git tag and zip filename must match it exactly: version `1.1` ## Notes - The app is signed with an Apple *Development* certificate, not notarized. - Installs need `--no-quarantine`; without it Gatekeeper blocks the app. + Recent Homebrew removed the `--no-quarantine` option, so on any Mac that + did not build the app, clear the quarantine flag after install/upgrade + (the cask prints this reminder as a caveat): + ``` + xattr -dr com.apple.quarantine /Applications/BrewBar.app + ``` - `dist/` and `build/` are gitignored — release zips live only in Forgejo releases, never in git. - First install on a new machine: ``` brew tap maxsoch/brewbar https://forgejo.socheleau.fr/maxsoch/BrewBar.git - brew install --cask --no-quarantine maxsoch/brewbar/brewbar + brew install --cask maxsoch/brewbar/brewbar + xattr -dr com.apple.quarantine /Applications/BrewBar.app ```