1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 18:34:46 +00:00

Support for deleting moles

This commit is contained in:
Tw93
2025-10-05 16:59:54 +08:00
parent 894ee4c26b
commit f36eb98598
3 changed files with 146 additions and 0 deletions

View File

@@ -155,17 +155,20 @@ mole analyze
### 使用建议
**推荐:**
- 第一次使用先 `--dry-run` 预览
- 定期清理(每月一次或磁盘快满时)
- 有大型缓存可用 `--whitelist` 保护
**避免:**
- 频繁清理(一周一次就够了)
- 运行重要程序时清理
### 安全保障
**Mole 只删除可重新生成的缓存和日志,不会删除:**
- 应用配置文件(.plist- 你的设置会保留
- 应用数据Application Support- 重要文档不受影响
- 系统关键文件、IDE 数据、数据库等
@@ -216,6 +219,23 @@ mole update
brew upgrade mole
```
### 如何卸载 Mole
如果你想要卸载 Mole不管是一键安装还是 Homebrew 安装):
```bash
mole remove
```
这个命令会:
- 自动识别安装方式Homebrew 或手动安装)
- 删除 Mole 可执行文件
- 清理配置文件(`~/.config/mole/`
- 清理缓存文件(`~/.cache/mole/`
**注意:** 卸载前会要求确认,请仔细阅读提示。
---
## 需要更多帮助?