From c4b1b0cc3a57b51669004c91fa9885e27f78b755 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+rprx@users.noreply.github.com> Date: Sun, 9 Aug 2020 16:18:45 +0000 Subject: [PATCH] Fix arm32 and arm64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit arm32 还可以更细分 --- customize.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customize.sh b/customize.sh index fd678dc..d3aa1dd 100644 --- a/customize.sh +++ b/customize.sh @@ -13,7 +13,7 @@ mkdir -p $MODPATH/system/bin mkdir -p $MODPATH/system/etc # download latest v2ray core from official link ui_print "- Connect official V2Ray download link." -official_v2ray_link="https://github.com/v2ray/v2ray-core/releases" +official_v2ray_link="https://github.com/v2fly/v2ray-core/releases" latest_v2ray_version=`curl -k -s -I "${official_v2ray_link}/latest" | grep -i location | grep -o "tag.*" | grep -o "v[0-9.]*"` if [ "${latest_v2ray_version}" = "" ] ; then ui_print "Error: Connect official V2Ray download link failed." @@ -22,10 +22,10 @@ fi ui_print "- Download latest V2Ray core ${latest_v2ray_version}-${ARCH}" case "${ARCH}" in arm) - download_v2ray_link="${official_v2ray_link}/download/${latest_v2ray_version}/v2ray-linux-arm.zip" + download_v2ray_link="${official_v2ray_link}/download/${latest_v2ray_version}/v2ray-linux-arm32-v7a.zip" ;; arm64) - download_v2ray_link="${official_v2ray_link}/download/${latest_v2ray_version}/v2ray-linux-arm64.zip" + download_v2ray_link="${official_v2ray_link}/download/${latest_v2ray_version}/v2ray-linux-arm64-v8a.zip" ;; x86) download_v2ray_link="${official_v2ray_link}/download/${latest_v2ray_version}/v2ray-linux-32.zip"