From d9ed8c770468beae4da7d4baa1282016b2061048 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Fri, 5 Jun 2026 16:03:57 -0400 Subject: [PATCH] claude_startup: flip default to setup-only, add --launch flag Default behavior is now setup-only (symlinks + binary, no interactive launch) so array_started.sh can call it directly without arguments. Use --launch to start an interactive Claude session. --- Tools/claude_startup.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Tools/claude_startup.sh b/Tools/claude_startup.sh index 4eb6cb5..beac684 100755 --- a/Tools/claude_startup.sh +++ b/Tools/claude_startup.sh @@ -23,12 +23,10 @@ # ============================================================================================== # # claude_startup.sh -# Set up persistent symlinks and launch Claude. +# Set up persistent symlinks only — default, used by array_started.sh on boot. # -# claude_startup.sh --setup -# Set up persistent symlinks only — do not launch Claude. -# Used by array_started.sh to prepare the environment on boot without -# immediately launching an interactive session. +# claude_startup.sh --launch +# Set up persistent symlinks and launch Claude interactively. # # ============================================================================================== @@ -36,8 +34,8 @@ PERSIST_DIR="/mnt/user/appdata/claude-code" CLAUDE_DATA="$PERSIST_DIR/.claude" CLAUDE_BIN="$PERSIST_DIR/local/share/claude" -LAUNCH=true -[[ "$1" == "--setup" ]] && LAUNCH=false +LAUNCH=false +[[ "$1" == "--launch" ]] && LAUNCH=true # Standalone — no common.sh dependency _log() { echo " ✅ $*"; }