mirror of
https://github.com/coder/code-server.git
synced 2026-04-12 18:28:17 -05:00
Fix install.sh refusing to download macos-arm64 standalone. (#6968)
* Fix install.sh refusing to download macos-arm64 standalone. * Update tests for macos-arm64 and amd64.
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user