packaging(homebrew): cask on v2026.41, install through a local tap (#1825)

Homebrew dropped --no-quarantine and installs casks only from a tap, so
the README's direct-URL install no longer worked, and the cask still
pointed at v0.4.8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-16 02:12:26 +03:00
1 parent f6455b22eb
commit 09ec41a5e9
2 files changed
+19 -14

No files matched your search

+14 -7
View File
@@ -3,24 +3,31 @@
[`open-cad-studio.rb`](open-cad-studio.rb) is a [Homebrew Cask](https://docs.brew.sh/Cask-Cookbook)
for installing the macOS (Apple Silicon) build.
## Install without a tap (directly from this file)
## Install through a local tap
Current Homebrew installs casks only from a tap, not from a URL or a file
path, and it no longer has `--no-quarantine`. Until a public tap exists, put
the cask in a local one:
```bash
brew install --cask --no-quarantine \
brew tap-new --no-git local/tap
mkdir -p "$(brew --repository local/tap)/Casks"
curl -fsSL -o "$(brew --repository local/tap)/Casks/open-cad-studio.rb" \
https://raw.githubusercontent.com/HakanSeven12/OpenCADStudio/main/packaging/homebrew/open-cad-studio.rb
brew install --cask local/tap/open-cad-studio
```
`--no-quarantine` is required: the app is ad-hoc signed but **not** Apple-notarised
(notarisation needs a paid Apple Developer ID), so without it Gatekeeper still
blocks the first launch.
The app is ad-hoc signed but **not** Apple-notarised (notarisation needs a paid
Apple Developer ID), so macOS blocks the first launch once: approve it in
System Settings > Privacy & Security > Open Anyway.
## Publishing as a proper tap (recommended)
## Publishing as a proper tap
Create a separate GitHub repo named `homebrew-tap` under the same account, put a
copy of `open-cad-studio.rb` in its `Casks/` directory, then users can run:
```bash
brew install --cask --no-quarantine hakanseven12/tap/open-cad-studio
brew install --cask hakanseven12/tap/open-cad-studio
```
`brew upgrade` then keeps the app current automatically.
+5 -7
View File
@@ -1,6 +1,6 @@
cask "open-cad-studio" do
version "0.4.8"
sha256 "8fa92be6045c57ac1994bd20fbb2def7269e25c327b7e62cb59745977c66f421"
version "2026.41"
sha256 "37f61cde861510cd83202bb854c64b16e3c1fa68187aeccf09e65395fd9d0198"
url "https://github.com/HakanSeven12/OpenCADStudio/releases/download/v#{version}/OpenCADStudio-v#{version}-macos-arm64.dmg",
verified: "github.com/HakanSeven12/OpenCADStudio/"
@@ -13,11 +13,9 @@ cask "open-cad-studio" do
app "OpenCADStudio.app"
# The app is ad-hoc signed but not notarised (no paid Apple Developer ID).
# Install with `--no-quarantine` so Gatekeeper does not block first launch:
# brew install --cask --no-quarantine packaging/homebrew/open-cad-studio.rb
# or, once published to a tap:
# brew install --cask --no-quarantine hakanseven12/tap/open-cad-studio
# The app is ad-hoc signed but not notarised (no paid Apple Developer ID),
# so macOS asks once on first launch: System Settings > Privacy & Security >
# Open Anyway. Homebrew installs casks only from a tap; see README.md.
zap trash: [
"~/Library/Application Support/OpenCADStudio",