Skip to content

Commit

Permalink
fix #104
Browse files Browse the repository at this point in the history
  • Loading branch information
twnesss committed Mar 27, 2024
1 parent 1d15aca commit 0a3632b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions box/scripts/box.tool
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ reload() {
upcurl() {
local arch
case $(uname -m) in
"aarch64") arch="arm64" ;;
"aarch64") arch="aarch64" ;;
"armv7l"|"armv8l") arch="armv7" ;;
"i686") arch="i686" ;;
"x86_64") arch="amd64" ;;
Expand Down Expand Up @@ -360,7 +360,6 @@ upkernel() {
if [ "${mihomo_stable}" = "enable" ]; then
latest_version=$(busybox wget --no-check-certificate -qO- "https://api.github.com/repos/MetaCubeX/mihomo/releases" | grep "tag_name" | busybox grep -oE "v[0-9.]*" | head -1)
tag="$latest_version"
arch=${arch%-v8}
else
if [ "$use_ghproxy" == true ]; then
download_link="${url_ghproxy}/${download_link}"
Expand Down

0 comments on commit 0a3632b

Please sign in to comment.