github tw93/Mole V1.39.0
V1.39.0 Fox 🦊

4 hours ago
Mole Logo

Mole V1.39.0 Fox 🦊

Deep clean and optimize your Mac.

Changelog

  1. mo clean: GUI app dotdirs with a matching .app bundle or Homebrew cask are no longer flagged as orphans.
  2. mo clean: UTM virtualization cache cleanup (skipped while UTM is running) and Lima download cache cleanup.
  3. mo clean: --dry-run and real clean now agree on which orphaned system services are protected; dry-run no longer reports files it would actually skip.
  4. mo clean: simctl probe timeout raised from 2s to 5s with one 8s retry, fixing the "simctl not available" warning on cold boot.
  5. mo clean: Gradle DSL caches are preserved to keep build integrity; dry-run size output is colorized by unit.
  6. mo purge: Scan timeouts, spinner lifecycle, and trap handlers hardened to prevent hangs on slow filesystems.
  7. mo touchid: PAM file writes now use atomic install -m 444 -o root -g wheel instead of mv, so /etc/pam.d/sudo always keeps root ownership and read-only permissions after enable or disable.
  8. Uninstall safety: Bundle ID matching switched from glob patterns to boundary-aware comparison, preventing com.example from accidentally hitting com.example123. defaults delete now rejects malformed bundle IDs before execution.

更新日志

  1. mo clean:有对应 .app 或 Homebrew cask 的 GUI app dotdir 不再被误标为孤儿。
  2. mo clean:新增 UTM 虚拟化缓存清理(UTM 运行中自动跳过)和 Lima 下载缓存清理。
  3. mo clean--dry-run 与实际清理对 protected 孤儿系统服务的判断一致,dry-run 不再虚报。
  4. mo cleansimctl 探测超时从 2s 提升到 5s 并加一次 8s 重试,修复重启后首次运行报 "simctl not available" 的问题。
  5. mo clean:Gradle DSL 缓存不再被误清理,保留构建完整性;dry-run 输出大小按 GB/MB/KB 着色。
  6. mo purge:扫描超时保护、spinner 生命周期、trap 处理加固,避免慢文件系统下卡住。
  7. mo touchid:PAM 文件写入改用原子操作 install -m 444 -o root -g wheel,enable 或 disable 后 /etc/pam.d/sudo 始终保持 root 所有和只读权限。
  8. 卸载安全:bundle ID 匹配从 glob 通配升级为边界校验,com.example 不再误命中 com.example123defaults delete 执行前校验 bundle ID 格式,拒绝畸形输入。

Mole Mac App

Prefer a GUI? I recently launched Mole Mac App. The CLI stays free and open source, and the Mac app is $9 lifetime with code MOLEMAC for 20% off through May 23.


Thanks 💖

Issue reporters and PR contributors this cycle: @xronocode · @OWConnoi · @TyceHerrman. Security hardening of mo touchid prompted by a responsible disclosure from an independent researcher.

https://github.com/tw93/Mole

Don't miss a new Mole release

NewReleases is sending notifications on new releases.