Fix dashboard file handling in nezha.sh

This commit is contained in:
Tobias
2026-07-26 19:02:25 +02:00
committed by GitHub
parent 38ae25c157
commit d67f65dcfe
+1
View File
@@ -38,6 +38,7 @@ function update_script() {
create_backup /opt/nezha/data
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "nezha" "nezhahq/nezha" "prebuild" "latest" "/opt/nezha" "dashboard-linux-amd64.zip"
if [[ -f /opt/nezha/dashboard-linux-amd64 ]]; then
mv /opt/nezha/dashboard-linux-amd64 /opt/nezha/dashboard
chmod +x /opt/nezha/dashboard