From f9826e0efdec06f7463f2e9588dcc14b325222f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E6=97=A5=E6=A2=A6=E4=B8=BB=E4=B9=89?= <37233261+Cherrling@users.noreply.github.com> Date: Wed, 11 Mar 2026 01:18:19 +0800 Subject: [PATCH] change `arch` to `uname -m` for better use --- src/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.sh b/src/init.sh index 5cf0bf4..9ba5b75 100644 --- a/src/init.sh +++ b/src/init.sh @@ -62,7 +62,7 @@ _wget() { cmd=$(type -P apt-get || type -P yum || type -P zypper) # x64 -case $(arch) in +case $(uname -m) in amd64 | x86_64) is_arch="amd64" ;;