From d57dcd2fb8a2682865e036cca24be2bf45163b74 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Sun, 10 Aug 2025 07:12:47 +0000 Subject: [PATCH] fix: install script now properly installs frontend files - Frontend-modern directory is now copied to /usr/local/bin during installation - Fixes ERR_TOO_MANY_REDIRECTS issue (#268) - Ensures UI is accessible after binary installation --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index 5cf30bdc7..c5bad1688 100755 --- a/install.sh +++ b/install.sh @@ -207,6 +207,13 @@ download_pulse() { exit 1 fi + # Copy frontend directory if it exists (required for v4.1.0+) + if [[ -d "$TEMP_EXTRACT/frontend-modern" ]]; then + rm -rf /usr/local/bin/frontend-modern + cp -r "$TEMP_EXTRACT/frontend-modern" /usr/local/bin/ + print_success "Frontend files installed to /usr/local/bin/frontend-modern" + fi + # Copy VERSION file if present if [[ -f "$TEMP_EXTRACT/VERSION" ]]; then mkdir -p "$INSTALL_DIR"