mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
修复update脚本,版本号比较问题
This commit is contained in:
@@ -212,14 +212,14 @@ function compare_versions() {
|
|||||||
return 1
|
return 1
|
||||||
elif (( current_ver < release_ver )); then
|
elif (( current_ver < release_ver )); then
|
||||||
INFO "发现新版本,开始自动升级..."
|
INFO "发现新版本,开始自动升级..."
|
||||||
install_backend_and_download_resources "tags/${release_ver}.zip"
|
install_backend_and_download_resources "tags/$2.zip"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
WARN "当前版本已是最新版本,跳过更新步骤..."
|
continue
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
WARN "当前版本已是最新版本,跳过更新步骤..."
|
||||||
}
|
}
|
||||||
|
|
||||||
# 优先级转换
|
# 优先级转换
|
||||||
|
|||||||
Reference in New Issue
Block a user