diff --git a/install.sh b/install.sh index 5b8fe91..9fb4a23 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ DESTINATION="${PREFIX:-/usr/local/bin}/toast" # Which version to download - RELEASE="v${VERSION:-0.47.1}" + RELEASE="v${VERSION:-0.47.2}" # Determine which binary to download. FILENAME='' @@ -29,6 +29,10 @@ echo 'x86-64 macOS detected.' FILENAME=toast-x86_64-apple-darwin fi + if uname -a | grep -qi 'Darwin.*arm64'; then + echo 'AArch64 macOS detected.' + FILENAME=toast-aarch64-apple-darwin + fi # Find a temporary location for the binary. TEMPDIR=$(mktemp -d /tmp/toast.XXXXXXXX)