Spaces:
Paused

icebear icebear0828 commited on
Commit
6c928c9
·
unverified ·
1 Parent(s): 34f3ea1

fix: macOS Electron login error -86 (EBADARCH) due to wrong-arch curl binary (#96) (#98)

Browse files

CI built both arm64/x64 DMGs on a single arm64 runner, bundling only
the arm64 curl-impersonate into both. Intel Mac users got EBADARCH when
spawning the binary during OAuth token exchange.

- Split macOS CI into per-arch jobs with --arch flag for setup-curl.ts
- Add --arch override to setup-curl.ts for cross-compilation
- Improve spawn error message to diagnose architecture mismatch

Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>

6 files changed +112 -8
Files changed (6)
.github/workflows/release.yml+9-4
CHANGELOG.md+1
scripts/setup-curl.ts+12-2
src/tls/__tests__/curl-cli-transport.test.tsAdded+34
src/tls/__tests__/setup-curl-arch.test.tsAdded+30
src/tls/curl-cli-transport.ts+26-2