Skip to content

Commit

Permalink
Fix install.sh refusing to download macos-arm64 standalone.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchenshi authored Aug 30, 2024
1 parent e05d880 commit e9294ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,9 @@ npm_fallback() {
# Determine if we have standalone releases on GitHub for the system's arch.
has_standalone() {
case $ARCH in
amd64) return 0 ;;
# We only have amd64 for macOS.
arm64)
arm64) return 0 ;;
# We only have arm64 for macOS.
amd64)
[ "$(distro)" != macos ]
return
;;
Expand Down

0 comments on commit e9294ee

Please sign in to comment.