github tw93/Mole V1.9.2
V1.9.2 Stronger 🏋️‍♀️

latest releases: V1.9.5, V1.9.4, V1.9.3...
11 hours ago
Mole Logo

Mole V1.9

Dig deep like a mole to clean your Mac.

Changelog

  1. Added the new mo optimize command with full system tuning (cache refresh, network reset, log cleanup, Spotlight rebuild).
  2. Rewrote the entire disk analysis module in Go with faster concurrent scanning and smart caching.
  3. Improved large-directory handling by auto-collapsing node_modules and optimizing large-file detection.
  4. Strengthened path-safety checks to prevent accidental system deletion and expanded protected directories.
  5. Enhanced whitelist validation to block malformed paths, spaces, and injection attempts like double slashes.
  6. Added post-Base64 decoding validation to prevent null-byte and illegal-path injection risks.
  7. Optimized logging and caching systems to reduce I/O and improve overall performance.
  8. Improved sudo keep-alive stability and refined DS_Store cleanup with progress and directory exclusions.
  9. Overhauled keyboard and UI interactions with simpler inputs, better prompts, and unified Q to exit.
  10. Upgraded code quality with ShellCheck, new unit tests, optimized scripts.
  11. Fixed the timeout issue during Brew cleanup, optimized the installation experience of Raycast to support 4 commands.

更新日志

  1. 新增 mo optimize 一键系统优化命令,涵盖缓存刷新、网络重置、日志清理、Spotlight 重建等全套操作。
  2. 使用 Go 语言重写磁盘分析模块,支持并发扫描并引入智能缓存,大幅提升分析速度。
  3. 优化大型目录处理,自动折叠 node_modules,并改进大文件检测与展示逻辑。
  4. 加强路径安全校验,防止误删系统文件,并扩大关键系统目录的保护范围。
  5. 升级白名单校验机制,严格拒绝异常路径、空格路径和 // 注入风险。
  6. Base64 解码后新增完整性与非法字符校验,避免批量卸载中的路径注入问题。
  7. 优化日志与缓存系统,减少 I/O 消耗并提升整体性能。
  8. 改进 sudo 保活稳定性,并增强 DS_Store 清理逻辑(进度显示与目录排除)。
  9. 全面优化键盘与界面交互,输入更简洁、提示更清晰,统一使用 Q 退出。
  10. 提升代码质量:加入 ShellCheck、完善单测、优化脚本.
  11. 修复Brew清理时候的超时问题,Raycast 安装体验优化支持4个命令

Learn how to use it through this main document. If you think mole is useful to you, welcome to Star

https://github.com/tw93/Mole

Don't miss a new Mole release

NewReleases is sending notifications on new releases.