Skip to content

Commit

Permalink
fix(linux arm64): install script error (#112)
Browse files Browse the repository at this point in the history
- 一键安装脚本下载了错误的amd64格式文件
  • Loading branch information
Jacky-YC authored Sep 18, 2024
1 parent d89da30 commit 3e6c65b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/install.preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ main() {

local osArch="amd64"

if [ "$os_arch" = "arm64" ] || [ "$os_type" = "aarch64" ]; then
if [ "$os_arch" = "arm64" ] || [ "$os_arch" = "aarch64" ]; then
osArch="arm64"
fi
local url="https://packages.vmr.us.kg/$osType/$osArch"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ main() {

local osArch="amd64"

if [ "$os_arch" = "arm64" ] || [ "$os_type" = "aarch64" ]; then
if [ "$os_arch" = "arm64" ] || [ "$os_arch" = "aarch64" ]; then
osArch="arm64"
fi

Expand Down

0 comments on commit 3e6c65b

Please sign in to comment.