Changelog
- mo clean: Added Group Containers cleanup with safety-first rules, protected apps clean logs only, non-protected apps clean logs caches and tmp, added Maven local repository cleanup, added Google Chrome and Google Updater cache cleanup, added Expo ecosystem cache cleanup for Expo Go Android APK iOS simulator native modules schema template versions, improved npm residual cleanup with custom cache path detection and normalization.
- mo purge: Added common React Native targets including Xcode
DerivedDataCocoaPodsPodsAndroid NDK cache.cxxExpo metadata.expo, prevented size calculation hangs with 15 second timeout and unknown size fallback, improved trap handling to avoid conflicts and preserve caller traps. - mo status: Prioritized internal disks over external disks, improved layout behavior during terminal resize, fixed duplicate Mole rendering in error state.
- Compatibility: Fixed BSD macOS
findargument order for-maxdepth. - Security and Stability: Hardened cleanup deletion paths in system and user flows with consistent safe deletion wrappers and protection checks.
更新日志
- mo clean:新增 Group Containers 清理并采用安全策略,受保护应用仅清理日志,非受保护应用清理日志缓存和临时目录,新增 Maven 本地仓库清理,新增 Google Chrome 与 Google Updater 缓存清理,新增 Expo 生态缓存清理覆盖 Expo Go Android APK iOS 模拟器 原生模块 schema template versions,优化 npm 残留清理支持自定义缓存路径识别与归一化。
- mo purge:新增 React Native 常见目标清理,包括 Xcode
DerivedDataCocoaPodsPodsAndroid NDK 缓存.cxxExpo 元数据.expo,修复目录大小计算卡住问题并增加 15 秒超时与未知大小兜底,优化 trap 处理避免冲突并恢复调用方 trap。 - mo status:优化磁盘展示顺序内部磁盘优先,优化终端窗口拉伸时布局,修复错误状态下 Mole 重复渲染。
- 兼容性:修复 BSD macOS 下
find的-maxdepth参数顺序。 - 安全与稳定性:系统与用户清理路径统一使用安全删除封装与保护校验,进一步降低误删风险。
Special thanks to @mickyyy68 and @DimitarNestorov for their contributions to this release. If Mole helps you, please consider giving it a star and recommending it to your friends