From 97fc72b78ade641f805127c293b486bf104541b2 Mon Sep 17 00:00:00 2001 From: cod378 Date: Thu, 13 Nov 2025 03:23:11 +0000 Subject: [PATCH] fix: add validation for missing ProxMenux Monitor AppImage - Check if AppImage exists before attempting installation - Display clear error message when AppImage is not found - Update config to track installation failure state --- install_proxmenux.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install_proxmenux.sh b/install_proxmenux.sh index 8bf36bc..24e418c 100755 --- a/install_proxmenux.sh +++ b/install_proxmenux.sh @@ -585,6 +585,12 @@ get_appimage_version() { install_proxmenux_monitor() { local appimage_source=$(detect_latest_appimage) + if [ -z "$appimage_source" ] || [ ! -f "$appimage_source" ]; then + msg_error "ProxMenux Monitor AppImage not found in $TEMP_DIR/AppImage/" + msg_warn "Please ensure the AppImage directory exists with ProxMenux-*.AppImage files." + update_config "proxmenux_monitor" "appimage_not_found" + return 1 + fi local appimage_version=$(get_appimage_version "$appimage_source")