mirror of
https://github.com/tw93/Mole.git
synced 2026-02-11 10:39:21 +00:00
chore(raycast): clarify settings open fallback
This commit is contained in:
@@ -251,10 +251,10 @@ create_raycast_commands() {
|
|||||||
|
|
||||||
log_header "Raycast Configuration"
|
log_header "Raycast Configuration"
|
||||||
if command -v open > /dev/null 2>&1; then
|
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."
|
log_step "Raycast settings opened."
|
||||||
else
|
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
|
fi
|
||||||
else
|
else
|
||||||
log_warn "open command not available; please open Raycast manually."
|
log_warn "open command not available; please open Raycast manually."
|
||||||
@@ -266,10 +266,10 @@ create_raycast_commands() {
|
|||||||
if is_interactive; then
|
if is_interactive; then
|
||||||
log_header "Finalizing Setup"
|
log_header "Finalizing Setup"
|
||||||
prompt_enter "Press [Enter] to reload script directories in Raycast..."
|
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."
|
log_step "Raycast script directories reloaded."
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
log_success "Raycast setup complete!"
|
log_success "Raycast setup complete!"
|
||||||
|
|||||||
Reference in New Issue
Block a user