From 5edddb616b39e30a436084d2b1807c1cdc40bfae Mon Sep 17 00:00:00 2001 From: tw93 Date: Wed, 4 Feb 2026 16:43:07 +0800 Subject: [PATCH] chore(raycast): clarify settings open fallback --- scripts/setup-quick-launchers.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/setup-quick-launchers.sh b/scripts/setup-quick-launchers.sh index 216a285..9c996b7 100755 --- a/scripts/setup-quick-launchers.sh +++ b/scripts/setup-quick-launchers.sh @@ -251,10 +251,10 @@ create_raycast_commands() { log_header "Raycast Configuration" if command -v open > /dev/null 2>&1; then - if open "raycast://extensions/raycast/raycast-settings/extensions" > /dev/null 2>&1; then + if open "raycast://extensions/raycast/raycast-settings/extensions" > /dev/null 2>&1 2> /dev/null; then log_step "Raycast settings opened." else - log_warn "Could not auto-open Raycast." + log_warn "Could not auto-open Raycast settings (raycast:// URL may be unavailable). Please open Raycast manually." fi else log_warn "open command not available; please open Raycast manually." @@ -266,10 +266,10 @@ create_raycast_commands() { if is_interactive; then log_header "Finalizing Setup" prompt_enter "Press [Enter] to reload script directories in Raycast..." - if command -v open > /dev/null 2>&1 && open "raycast://extensions/raycast/raycast/reload-script-directories" > /dev/null 2>&1; then + if command -v open > /dev/null 2>&1 && open "raycast://extensions/raycast/raycast/reload-script-directories" > /dev/null 2>&1 2> /dev/null; then log_step "Raycast script directories reloaded." else - log_warn "Could not auto-reload Raycast script directories." + log_warn "Could not auto-reload Raycast script directories (raycast:// URL may be unavailable)." fi log_success "Raycast setup complete!"