From ff994a37332d1d6bfd279dd09efbc699d6e655b3 Mon Sep 17 00:00:00 2001 From: Jatin K Malik Date: Wed, 11 Feb 2026 17:12:46 -0800 Subject: [PATCH] fix(install): prevent silent exit on systems without NVIDIA GPU (#175) --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 7b9c2ce..1c1783d 100755 --- a/install.sh +++ b/install.sh @@ -326,7 +326,7 @@ EOF print_header "Step 1: Your System" echo "Detected: $DISTRO_NAME $DISTRO_VERSION" - detect_nvidia_gpu + detect_nvidia_gpu || true if [[ "$HAS_NVIDIA_GPU" == "yes" ]]; then echo "GPU: $GPU_NAME ($GPU_MEMORY)" RECOMMENDED_ENGINE="whisper-gpu" @@ -470,7 +470,7 @@ fi # Auto-detect GPU for non-interactive mode when no explicit Whisper choice # This helps users who run curl | bash without any flags if [[ "$NON_INTERACTIVE" == "yes" ]] && [[ "$WITH_WHISPER" == "no" ]] && [[ "$NO_WHISPER_EXPLICIT" == "no" ]] && [[ "$INTERACTIVE_MODE" == "no" ]]; then - detect_nvidia_gpu + detect_nvidia_gpu || true if [[ "$HAS_NVIDIA_GPU" == "yes" ]]; then WITH_WHISPER="yes" print_info "NVIDIA GPU detected: $GPU_NAME"