mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
When the signing secrets are absent, `CSC_LINK`/`APPLE_*`/`WIN_CSC_*` render as empty strings. electron-builder treats a present (even empty) CSC_LINK as "a certificate is configured", tries to load it, resolves the empty path to the working dir and dies with "<workdir> not a file" — which broke the v0.4.0 release build. Drop those env vars from the release build step so unsigned builds behave exactly like the (already-green) dev build, which only sets CSC_IDENTITY_AUTO_DISCOVERY=false. Add them back once an Apple Developer ID / Windows cert is available. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>