From 226029d63f3b9ea676e9115c43c50bfa94ebbf54 Mon Sep 17 00:00:00 2001 From: LoveesYe <109154433+LoveesYe@users.noreply.github.com> Date: Tue, 12 Jul 2022 19:40:33 +0200 Subject: [PATCH] Update master.sh --- web/master.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/master.sh b/web/master.sh index 17a63ff..930ba2f 100644 --- a/web/master.sh +++ b/web/master.sh @@ -196,7 +196,7 @@ done if [[ $VER == "" ]]; then # 获取最新版本 echo "获取最新版..." - latest_version=`curl -s 'https://github.com/LoveesYe/cdnflydadao/web/upgrades?latest=1' | grep -Po 'v\d+\.\d+.\d+' || true` + latest_version=`curl -s 'http://auth.fikkey.com/upgrades?latest=1' | grep -Po 'v\d+\.\d+.\d+' || true` if [[ "$latest_version" == "" ]]; then echo "获取最新版失败,请先登录官网填入主控IP" exit 1 @@ -219,7 +219,7 @@ else fi cd /opt/ -download "https://github.com/LoveesYe/cdnflydadao/master/$tar_gz_name" "https://github.com/LoveesYe/cdnflydadao/master/$tar_gz_name" "$tar_gz_name" +download "https://github.com/LoveesYe/cdnflydadao/raw/main/master/$tar_gz_name" "https://github.com/LoveesYe/cdnflydadao/raw/main/master/$tar_gz_name" "$tar_gz_name" tar xf $tar_gz_name rm -rf cdnfly