Skip to content

fix(install): force x86_64 architecture on Windows (#399)#400

Merged
RetricSu merged 1 commit intov0.4.xfrom
develop
Mar 10, 2026
Merged

fix(install): force x86_64 architecture on Windows (#399)#400
RetricSu merged 1 commit intov0.4.xfrom
develop

Conversation

@RetricSu
Copy link
Collaborator

  • fix(install): force x86_64 architecture on Windows

CKB only provides x86_64 binaries for Windows, not aarch64. When Windows ARM devices reported 'arm64' via os.arch(), the code tried to download a non-existent 'aarch64-pc-windows-msvc' binary, resulting in a 404 error.

This fix forces all Windows systems to use x86_64, which:

  • Works correctly on Windows x64
  • Works via emulation on Windows ARM devices
  • Matches the only Windows binary CKB provides

Fixes #issue with Windows ARM architecture detection

  • chore: add changeset

* fix(install): force x86_64 architecture on Windows

CKB only provides x86_64 binaries for Windows, not aarch64.
When Windows ARM devices reported 'arm64' via os.arch(), the code
tried to download a non-existent 'aarch64-pc-windows-msvc' binary,
resulting in a 404 error.

This fix forces all Windows systems to use x86_64, which:
- Works correctly on Windows x64
- Works via emulation on Windows ARM devices
- Matches the only Windows binary CKB provides

Fixes #issue with Windows ARM architecture detection

* chore: add changeset
@RetricSu RetricSu merged commit c7b125f into v0.4.x Mar 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant