Skip to content

Commit e9294ee

Browse files
authored
Fix install.sh refusing to download macos-arm64 standalone.
1 parent e05d880 commit e9294ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ npm_fallback() {
461461
# Determine if we have standalone releases on GitHub for the system's arch.
462462
has_standalone() {
463463
case $ARCH in
464-
amd64) return 0 ;;
465-
# We only have amd64 for macOS.
466-
arm64)
464+
arm64) return 0 ;;
465+
# We only have arm64 for macOS.
466+
amd64)
467467
[ "$(distro)" != macos ]
468468
return
469469
;;

0 commit comments

Comments
 (0)