Skip to content

Craft Anything: understand how any software works, and craft your own.

Rust

The README says what to do when macOS blocks the command-line zip (#265)

Brandon Thomasede9d7fa48c8
diff --git a/README.md b/README.md
index d5d44c60..ab3fe5eb 100644
--- a/README.md
+++ b/README.md
@@ -262,7 +262,27 @@ Installers and executables are code-signed. The portable zip keeps its settings
| Build | File | Notes |
|---|---|---|
| App, universal (Apple silicon + Intel) | `craft-anything-<ver>-macos-universal.dmg` | Signed and notarized |
-| Command-line tool, universal | `craft-anything-cli-<ver>-macos-universal.zip` | Signed and notarized |
+| Command-line tool, universal | `craft-anything-cli-<ver>-macos-universal.zip` | Signed and notarized; see below if macOS blocks it |
+
+Versions after 0.2.0 include the command-line tool in the app, so builds don't need the separate
+zip. You only need it to use the command line without the app.
+
+A browser download of the zip can stop with "Apple could not verify craft-anything-cli" (a lone
+program can't carry its notarization with it, so macOS has to look it up online). A download from
+the terminal isn't checked this way, so use this instead:
+
+```sh
+ver=<ver> # the version, for example 0.2.0
+curl -fLO "https://github.com/storytold/craft-anything/releases/download/v$ver/craft-anything-cli-$ver-macos-universal.zip"
+ditto -x -k "craft-anything-cli-$ver-macos-universal.zip" .
+mkdir -p ~/.local/bin
+mv "craft-anything-cli-$ver-macos-universal/craft-anything-cli" ~/.local/bin/
+~/.local/bin/craft-anything-cli --version
+```
+
+If you already have the blocked copy, press Done (not Move to Bin), then run
+`xattr -d com.apple.quarantine <path to craft-anything-cli>`, or allow it in System Settings →
+Privacy & Security → Open Anyway.
### Linux
diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md
index c62c1963..ba5cb9a2 100644
--- a/docs/ROADMAP.md
+++ b/docs/ROADMAP.md
@@ -1156,6 +1156,11 @@ Launch checklist (source-only first; signed installers can follow):
`hdiutil create`, with the app inside the mounted image checked by `codesign --strict`; the
FreeBSD workflow runs on main and packaging PRs (when public) with a package-contents check
- [ ] Build the new DMG on a Mac (release dry run) and look at the window once
+- [ ] macOS CLI zip blocked by Gatekeeper when downloaded in a browser (#94), though Apple has its
+ notarization tickets: find why the online lookup fails for people (it passes on our Mac, which
+ may be exempt), on a machine that shows it
+- [ ] **decision** A standalone macOS CLI that can carry its ticket, such as a stapled `.pkg`; that
+ needs a Developer ID Installer certificate in the release secrets
- [x] The first release: v0.1.0 built from `release`, signed (Apple Developer ID and notarization,
Azure Trusted Signing) and published on 2026-10-31
- [ ] Move the release workflows off actions that target Node.js 20 (`actions/checkout@v4`,