mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 12:41:46 +00:00
chore(raycast): clarify settings open fallback
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user