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:
20
GUIDE.md
20
GUIDE.md
@@ -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/`)
|
||||
|
||||
**注意:** 卸载前会要求确认,请仔细阅读提示。
|
||||
|
||||
---
|
||||
|
||||
## 需要更多帮助?
|
||||
|
||||
Reference in New Issue
Block a user