Update update.sh

This commit is contained in:
dami
2026-06-22 17:54:37 +08:00
parent c1f69ea1c7
commit 6e61a535ca
+5 -1
View File
@@ -96,6 +96,10 @@ if [ ! -f $TARGET_DIR/app ];then
cd $TARGET_DIR && mv dashboard-linux-${ARCH} app && chmod +x app
fi
systemctl enable nezha-dashboard
systemctl restart nezha-dashboard
echo $DOWNLOAD_URL
if [ -f /www/server/nezha ];then
echo "$NUMBER_LATEST_VERSION" > /www/server/nezha/version.pl
fi
echo "ok"