From d97fcc4a963e77721a3edce9794c0bc408594ee1 Mon Sep 17 00:00:00 2001 From: lvyb Date: Fri, 8 Nov 2024 16:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dupdate=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E7=89=88=E6=9C=AC=E5=8F=B7=E6=AF=94=E8=BE=83=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update b/update index c6c087ab..15a00227 100644 --- a/update +++ b/update @@ -212,14 +212,14 @@ function compare_versions() { return 1 elif (( current_ver < release_ver )); then INFO "发现新版本,开始自动升级..." - install_backend_and_download_resources "tags/${release_ver}.zip" + install_backend_and_download_resources "tags/$2.zip" return 0 else - WARN "当前版本已是最新版本,跳过更新步骤..." - return 1 + continue fi fi done + WARN "当前版本已是最新版本,跳过更新步骤..." } # 优先级转换