浏览代码

Merge branch 'master' of https://git.hkwtc.org/TC/arozos

TC 3 年之前
父节点
当前提交
0039d58334

+ 4 - 1
documents/headless setup files/install_latest_hkwtc.sh

@@ -12,13 +12,16 @@ echo "Cloning ArozOS from source"
 git clone https://git.hkwtc.org/TC/arozos.git
 
 echo "Installing Golang"
-arch=$(uname -i)
+arch=$(uname -m)
 gover="1.17.6"
 if [[ $arch == x86_64* ]]; then
     echo "Selecting x64 Architecture"
     wget https://golang.org/dl/go$gover.linux-amd64.tar.gz
 elif  [[ $arch == arm* ]]; then
     echo "Selecting ARM Architecture"
+    wget https://golang.org/dl/go$gover.linux-armv6l.tar.gz
+elif  [[ $arch == "aarch64" ]]; then
+    echo "Selecting ARM64 Architecture"
     wget https://golang.org/dl/go$gover.linux-arm64.tar.gz
 elif [[ $arch == "unknown" ]]; then
     echo "Unknown CPU arch. Please enter CPU architecture manually (arm/arm64/amd64)"

+ 4 - 1
documents/headless setup files/install_release_github.sh

@@ -12,13 +12,16 @@ echo "Cloning ArozOS from source"
 git clone https://github.com/tobychui/arozos
 
 echo "Installing Golang"
-arch=$(uname -i)
+arch=$(uname -m)
 gover="1.17.6"
 if [[ $arch == x86_64* ]]; then
     echo "Selecting x64 Architecture"
     wget https://golang.org/dl/go$gover.linux-amd64.tar.gz
 elif  [[ $arch == arm* ]]; then
     echo "Selecting ARM Architecture"
+    wget https://golang.org/dl/go$gover.linux-armv6l.tar.gz
+elif  [[ $arch == "aarch64" ]]; then
+    echo "Selecting ARM64 Architecture"
     wget https://golang.org/dl/go$gover.linux-arm64.tar.gz
 elif [[ $arch == "unknown" ]]; then
     echo "Unknown CPU arch. Please enter CPU architecture manually (arm/arm64/amd64)"