更新 update

This commit is contained in:
jxxghp
2024-10-23 20:09:02 +08:00
committed by GitHub
parent d6f8c364bf
commit 059f7f8146

2
update
View File

@@ -66,7 +66,7 @@ function install_backend_and_download_resources() {
fi
INFO "安装依赖成功"
# 从后端文件中读取前端版本号
frontend_version=$(sed -n "s/^FRONTEND_VERSION\s*=\s*'\([^']*\)'/\1/p" /tmp/app/version.py)
frontend_version=$(sed -n "s/^FRONTEND_VERSION\s*=\s*'\([^']*\)'/\1/p" /tmp/App/version.py)
if [[ "${frontend_version}" != *v* ]]; then
WARN "前端最新版本号获取失败,继续启动..."
return 1