Skip to content

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

Merged
RetricSu merged 2 commits intodevelopfrom
fix-window-arm
Mar 10, 2026
Merged

fix(install): force x86_64 architecture on Windows#399
RetricSu merged 2 commits intodevelopfrom
fix-window-arm

Conversation

@RetricSu
Copy link
Collaborator

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

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
@RetricSu RetricSu merged commit 4a88eb6 into develop Mar 10, 2026
6 checks passed
@RetricSu RetricSu deleted the fix-window-arm branch March 10, 2026 02:01
RetricSu added a commit that referenced this pull request Mar 10, 2026
fix(install): force x86_64 architecture on Windows (#399)
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