Skip to content

V1.48.0-windows Clear

Choose a tag to compare

@github-actions github-actions released this 05 Dec 10:24
· 3336 commits to main since this release
Mole Logo

Mole CLI for Windows

Deep clean and optimize your Windows PC.

Changelog

  1. Safer uv, Rust, and AI tool cleanup: mo clean now prunes uv caches through uv cache prune and never falls back to direct deletion when uv is unavailable, follows custom CARGO_HOME and RUSTUP_HOME only with structural markers on fixed drives while guarding rustup-init and proxy writers, and cleans Feishu and Lark per-user profile caches safely.
  2. Stronger path protection and escaping: protected-path checks in PowerShell and mo analyze now normalize extended device prefixes (\\?\, \\.\), refuse Alternate Data Streams and Win32 trailing-dot or trailing-space aliases, protect .claude/{plans,tasks,plugins,skills} and .codex/auth.json, and escape all five PowerShell single-quote characters across owner commands and helper scripts.
  3. Fresh mo uninstall inventory cache: mo uninstall now fingerprints Uninstall registry subkeys and AppX package registrations, so apps installed within 24 hours appear immediately in --list and search instead of reading a stale cache.
  4. Improved mo analyze navigation and layout: lists support Page Up and Page Down navigation with a scroll margin and a compact footer for narrow consoles, ignore bare backup-exclusion CACHEDIR.TAG files when marking cleanable folders, and enforce column width limits on malformed UTF-8 names.
  5. Clearer skipped-file and purge reporting: mo clean records sharing violations as skipped in use, mo purge --help notes default roots excluded by a custom config, and Bun 1.4 and Go GOTOOLCHAIN=local edge cases are handled cleanly.

更新日志

  1. uv、Rust 与聊天工具清理更安全:mo clean 现通过 uv cache prune 清理 uv 缓存且在缺少 uv 时不再回退直接删除;仅在固定磁盘且存在结构标记时跟随自定义 CARGO_HOME 与 RUSTUP_HOME,并在 rustup-init 或代理工具运行时保留下载;新增飞书与 Lark 分用户配置缓存清理。
  2. 路径保护与引号转义加固:PowerShell 与 mo analyze 的受保护路径校验现归一化 \\?\ / \\.\ 扩展前缀,拒绝备用数据流(ADS)与 Win32 尾点/尾空格别名,保护 .claude/{plans,tasks,plugins,skills} 与 .codex/auth.json,并在命令封装中转义全部五种 PowerShell 单引号字符。
  3. mo uninstall 清单缓存实时刷新:mo uninstall 现校验 Uninstall 注册表子键与 AppX 包指纹,24 小时内新安装的应用会立即出现在 --list 和搜索结果中。
  4. mo analyze 浏览与布局改进:列表支持 Page Up / Page Down 翻页、滚动留白与窄窗口精简底栏,不再将仅含备份排除 CACHEDIR.TAG 的目录标为可清理,并修复异常 UTF-8 文件名导致的列宽越界。
  5. 更清晰的状态反馈与兼容修复:mo clean 将文件占用冲突明确记为使用中跳过,mo purge --help 标出被自定义配置排除的默认目录,并适配 Bun 1.4 缓存命令与固定 GOTOOLCHAIN=local。

Thanks

Issue reporters and PR contributors this cycle: @Ariestar · @forthrin · @Yuxin-Qiao.

Install

iwr -useb https://raw.githubusercontent.com/tw93/Mole/windows/quick-install.ps1 | iex

Already installed from the script? Run mo update. Scoop installs update through scoop update mole once the new package is available. The files below are what package managers and mo download; PowerShell scripts and executables are code-signed, and SHA256SUMS.txt lists their checksums.

Mole for Windows

If you would rather work in a window than a terminal, Mole for Windows covers cleaning, app removal and updates, startup items, disk analysis and live status, and shows everything before it deletes. The CLI stays free and open source.