Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

fix(mac): disable electron-builder built-in notarization (notarize: false)

Chaitanya Girif427c1da4eff
diff --git a/electron-builder.yml b/electron-builder.yml
index 96184df0..2af5c52a 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -43,6 +43,14 @@ mac:
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
gatekeeperAssess: false
+ # Disable electron-builder's BUILT-IN notarization. It auto-triggers whenever the
+ # APPLE_* env vars are present and runs inside signApp — a path our afterSign hook's
+ # try/catch can't guard, so a bad-credential failure there hard-fails the whole
+ # release (exactly what bit us). Instead, the root-level `afterSign: build/notarize.cjs`
+ # hook does notarization best-effort: it tries, and on failure ships the signed (un-
+ # notarized) build rather than sinking the cross-platform release. Notarization
+ # resumes automatically once the APPLE_* secrets are valid — no further changes.
+ notarize: false
# Signing: TCC binds a remembered grant to a STABLE code signature, so a signed
# build is asked for folder access ONCE. The "Developer ID Application" cert is
# auto-discovered from the login keychain (CSC_IDENTITY_AUTO_DISCOVERY). If no