From 43b634f654f2eebffe484e7176a3cc35cb656be6 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Thu, 11 Sep 2025 15:16:40 +0000 Subject: [PATCH] improve: add --main as primary option for building from source - --main is now the primary option (clearer intent) - --source, --from-source, --branch remain as aliases - Help text shows --main first for better discoverability Usage: curl -fsSL https://raw.githubusercontent.com/rcourtman/Pulse/main/install.sh | bash -s -- --main --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 07057e683..d0226ce5a 100755 --- a/install.sh +++ b/install.sh @@ -2251,7 +2251,7 @@ while [[ $# -gt 0 ]]; do ENABLE_AUTO_UPDATES=true shift ;; - --source|--from-source|--branch) + --main|--source|--from-source|--branch) BUILD_FROM_SOURCE=true # Optional: specify branch if [[ -n "$2" ]] && [[ ! "$2" =~ ^-- ]]; then @@ -2269,6 +2269,7 @@ while [[ $# -gt 0 ]]; do echo " --rc, --pre Install latest RC/pre-release version" echo " --stable Install latest stable version (default)" echo " --version VERSION Install specific version (e.g., v4.4.0-rc.1)" + echo " --main Build and install from main branch source" echo " --source [BRANCH] Build and install from source (default: main)" echo " --enable-auto-updates Enable automatic stable updates (via systemd timer)" echo ""