mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
- mac.notarize=true + hardenedRuntime + entitlements so a signed CI release actually notarizes (gatekeeper smoke + Squirrel.Mac auto-update need it) - entitlements grant disable-library-validation for the Bun sidecar/node-pty - local unsigned build passes -c.mac.notarize=false so electron:package still works without an Apple account - release signing-preflight now hard-requires only the Apple secrets; Windows cert is optional (unsigned NSIS still auto-updates, just SmartScreen warning) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
902 B
Plaintext
20 lines
902 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<!-- Electron/Chromium needs JIT + writable executable memory under hardened runtime. -->
|
|
<key>com.apple.security.cs.allow-jit</key>
|
|
<true/>
|
|
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
|
<true/>
|
|
<!-- The server sidecar relies on environment-variable injection (proxy, CLAUDE_*). -->
|
|
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
|
<true/>
|
|
<!-- Allow loading the node-pty native module and spawning the Bun sidecar binary,
|
|
which are not signed with this app's Developer ID. Required for the terminal
|
|
and server runtime to work under a notarized hardened-runtime build. -->
|
|
<key>com.apple.security.cs.disable-library-validation</key>
|
|
<true/>
|
|
</dict>
|
|
</plist>
|