diff --git a/services/immich.sh b/services/immich.sh index 80b60c3..e8d2f7d 100644 --- a/services/immich.sh +++ b/services/immich.sh @@ -492,9 +492,9 @@ fi if [ "$NODE_OK" = false ]; then echo " Immich CLI requires Node.js >= 20 (found: $(node -v 2>/dev/null || echo 'none'))." - read -r -p " Install Node.js 22 LTS now? (y/n): " INSTALL_NODE_YN + read -r -p " Install Node.js 24 LTS now? (y/n): " INSTALL_NODE_YN if [ "$INSTALL_NODE_YN" = "y" ] || [ "$INSTALL_NODE_YN" = "Y" ]; then - curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - 2>/dev/null + curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - 2>/dev/null sudo apt-get install -y -qq nodejs 2>/dev/null NODE_MAJOR=$(node -v 2>/dev/null | sed 's/^v//' | cut -d. -f1) if [ "$NODE_MAJOR" -ge 20 ] 2>/dev/null; then diff --git a/services/silent-send.sh b/services/silent-send.sh index c6e6d11..76b6330 100644 --- a/services/silent-send.sh +++ b/services/silent-send.sh @@ -65,10 +65,10 @@ EOF if ! [ "$NODE_MAJOR" -ge 18 ] 2>/dev/null; then log_warning "Node.js >= 18 required for building/signing (found: $(node -v 2>/dev/null || echo none))." local INSTALL_NODE="" - prompt_yn " Install Node.js 22 LTS from NodeSource now? (y/n):" "y" INSTALL_NODE + prompt_yn " Install Node.js 24 LTS from NodeSource now? (y/n):" "y" INSTALL_NODE if [ "$INSTALL_NODE" = "y" ] || [ "$INSTALL_NODE" = "Y" ]; then - log_info "Installing Node.js 22 LTS..." - curl -fsSL https://deb.nodesource.com/setup_22.x | bash - >/dev/null 2>&1 + log_info "Installing Node.js 24 LTS..." + curl -fsSL https://deb.nodesource.com/setup_24.x | bash - >/dev/null 2>&1 apt-get install -y nodejs >/dev/null 2>&1 NODE_MAJOR=$(node -v 2>/dev/null | sed 's/^v//' | cut -d. -f1) fi