1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-05 17:53:51 +00:00

Raycast installation script use optimization

This commit is contained in:
Tw93
2025-11-15 19:23:02 +08:00
parent e033bfba95
commit 9ab7d9abf8
3 changed files with 31 additions and 48 deletions

View File

@@ -65,16 +65,6 @@ mo --version # Show installed version
- Protect caches with `mo clean --whitelist`; defaults cover Playwright, HuggingFace, Maven, and Surge Mac paths.
- Use `mo touchid` to approve sudo with Touch ID instead of typing your password.
## Quick Launchers
One command sets up Raycast + Alfred shortcuts for `mo clean` and `mo uninstall`:
```bash
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/integrations/setup-quick-launchers.sh | bash
```
Done! Use `mo` search to quickly find them. See [integrations/README.md](integrations/README.md) for details.
## Features in Detail
### Deep System Cleanup
@@ -155,6 +145,28 @@ Analyze Disk ~/Documents | Total: 156.8GB
↑↓←→ Navigate | O Open | F Reveal | ⌫ Delete | L Large(24) | Q Quit
```
## Quick Launchers
Launch Mole commands instantly from Raycast or Alfred:
```bash
curl -fsSL https://raw.githubusercontent.com/tw93/Mole/main/scripts/setup-quick-launchers.sh | bash
```
This adds 4 commands to Raycast and Alfred:
- `clean` - Deep system cleanup
- `uninstall` - Remove applications
- `optimize` - System health check
- `analyze` - Disk space explorer
Raycast scripts auto-detect your preferred terminal (Warp, Ghostty, Alacritty, Kitty, etc). Set `MO_LAUNCHER_APP=<name>` to override.
**Uninstall:**
```bash
rm -rf ~/Documents/Raycast/Scripts/mole-*.sh
rm -rf ~/Library/Application\ Support/Raycast/script-commands/mole-*.sh
```
## Support
- If Mole reclaimed storage for you, consider starring the repo or sharing it with friends needing a cleaner Mac.