Update update.sh

This commit is contained in:
dami 2026-07-09 15:06:33 +08:00
parent fb0be5549d
commit 957e2db3d0
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ echo "最新[NUMBER]是: $NUMBER_LATEST_VERSION"
# INSTALL_VERSION=`cat /www/server/nezha/version.pl`
# echo "安装的版本: $INSTALL_VERSION"
INSTALL_VERSION=`/www/server/nezha/app -v`
INSTALL_VERSION=`/www/server/nezha/dashboard/app -v`
echo "安装的版本: $INSTALL_VERSION"
if [ "$INSTALL_VERSION" == "$NUMBER_LATEST_VERSION" ];then