2025-11-09 09:47:02 +08:00
# Mole Integrations
Quick launcher integrations for Mole.
2025-11-09 10:48:12 +08:00
## Raycast + Alfred (clean & uninstall)
2025-11-09 09:47:02 +08:00
```bash
2025-11-09 10:48:12 +08:00
curl -fsSL https://raw.githubusercontent.com/tw93/Mole/main/integrations/setup-quick-launchers.sh | bash
2025-11-09 09:47:02 +08:00
```
2025-11-09 10:48:12 +08:00
This command:
2025-11-09 09:47:02 +08:00
2025-11-09 11:03:31 +08:00
- Adds two Raycast Script Commands (`clean` , `uninstall` ) to the usual Raycast directories and opens the Script Commands panel so you can reload immediately.
- Creates two Alfred workflows with keywords `clean` and `uninstall` so you can type and run Mole in Alfred.
2025-11-09 11:18:06 +08:00
Both launchers call your locally installed `mo` /`mole` binary directly—no extra prompts or AppleScript permissions needed.
Raycast scripts automatically pick the first terminal they find (Warp → Ghostty → Alacritty → Kitty → WezTerm → WindTerm → Hyper → iTerm2 → Terminal). Export `MO_LAUNCHER_APP=<name>` to override.
2025-11-09 09:47:02 +08:00
## Alfred
Add a workflow with keyword `clean` and script:
```bash
mo clean
```
For dry-run: `mo clean --dry-run`
For uninstall: `mo uninstall`
## Uninstall
```bash
2025-11-09 10:27:53 +08:00
rm -rf ~/Documents/Raycast/Scripts/mole-*.sh
2025-11-09 10:35:28 +08:00
rm -rf ~/Library/Application\ Support/Raycast/script-commands/mole-*.sh
2025-11-09 10:48:12 +08:00
# Alfred workflows live in:
# ~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.*
2025-11-09 09:47:02 +08:00
```