<fix>: fix bug, macOS m1 report $arch: arm64.

This commit is contained in:
YiXuan Ding 2024-10-25 15:29:40 +08:00
parent 2ec4957d3c
commit 73b23fc18e

View File

@ -67,7 +67,7 @@ install() {
case "$arch" in
x86_64) arch="x64" ;;
aarch64) arch="aarch64" ;;
aarch64|arm64) arch="aarch64" ;;
riscv64) arch="riscv64" ;;
armv7*) arch="armv7" ;;
*) error "不支持的架构: ${arch}" ;;