Update install_proxmenux_beta.sh

This commit is contained in:
MacRimi
2026-03-26 00:49:06 +01:00
parent 0b3624dbd5
commit f7b37b1559

View File

@@ -1,15 +1,16 @@
#!/bin/bash #!/bin/bash
# ========================================================== # ==========================================================
# ProxMenux Monitor - Beta Program Installer # ProxMenux Monitor - Beta Program Installer
# ========================================================== # ==========================================================
# Author : MacRimi # Author : MacRimi
# Subproject : ProxMenux Monitor Beta # Subproject : ProxMenux Monitor Beta
# Copyright : (c) 2024-2025 MacRimi # Copyright : (c) 2024-2025 MacRimi
# License : GPL-3.0 (https://github.com/MacRimi/ProxMenux/blob/main/LICENSE) # License : GPL-3.0 (https://github.com/MacRimi/ProxMenux/blob/main/LICENSE)
# Version : Beta # Version : Beta 1.1
# Branch : develop # Branch : develop
# ========================================================== # Last Updated : 2026-03-26
# ==========================================================
# Description: # Description:
# This script installs the BETA version of ProxMenux Monitor # This script installs the BETA version of ProxMenux Monitor
# from the develop branch on GitHub. # from the develop branch on GitHub.
@@ -365,12 +366,15 @@ install_proxmenux_monitor() {
chmod +x "$target_path" chmod +x "$target_path"
# Copy shutdown-notify.sh script for systemd ExecStop # Copy shutdown-notify.sh script for systemd ExecStop
local shutdown_script_src="$TEMP_DIR/Scripts/shutdown-notify.sh" local shutdown_script_src="$TEMP_DIR/scripts/shutdown-notify.sh"
mkdir -p "$MONITOR_INSTALL_DIR/scripts"
local shutdown_script_dst="$MONITOR_INSTALL_DIR/scripts/shutdown-notify.sh" local shutdown_script_dst="$MONITOR_INSTALL_DIR/scripts/shutdown-notify.sh"
cp "$shutdown_script_src" "$shutdown_script_dst" if [ -f "$shutdown_script_src" ]; then
chmod +x "$shutdown_script_dst" cp "$shutdown_script_src" "$shutdown_script_dst"
msg_ok "Shutdown notification script installed." chmod +x "$shutdown_script_dst"
msg_ok "Shutdown notification script installed."
else
msg_warn "Shutdown script not found at $shutdown_script_src"
fi
msg_ok "ProxMenux Monitor beta v${appimage_version} installed." msg_ok "ProxMenux Monitor beta v${appimage_version} installed."
if [ "$service_exists" = false ]; then if [ "$service_exists" = false ]; then