From 20ee824f9d867eb86f808999951e153ad26b61eb Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Sun, 10 Oct 2021 21:41:58 +0800 Subject: [PATCH] =?UTF-8?q?V6.6.6-2=20=E4=BF=AE=E5=A4=8D=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoUpdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index 569162f..6a4c0e0 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -364,7 +364,7 @@ function ANALYSIS_API() { } RM ${API_File} && touch -a ${API_File} LOGGER "[ANALYSIS_API] 开始解析 Github API ..." - local i=1;while :;do + local i=0;while :;do name=$(jsonfilter -i ${API_Dump} -e '@["assets"]' | jsonfilter -e '@['"""$i"""'].name' 2> /dev/null) [[ ! $? == 0 ]] && break if [[ ${name} =~ "AutoBuild-${OP_REPO_NAME}-${TARGET_PROFILE}" || ${name} =~ Update_Logs.json ]] @@ -1173,4 +1173,4 @@ Grey="\e[36m" Green="\e[32m" [[ -n $* ]] && COMMAND="$0 $*" || COMMAND="$0" -AutoUpdate_Main $* \ No newline at end of file +AutoUpdate_Main $*