Skip to content

V1.47.0-windows Sturdy

Choose a tag to compare

@github-actions github-actions released this 27 Nov 11:40
· 3187 commits to main since this release
Mole Logo

Mole CLI for Windows

Deep clean and optimize your PC.

Changelog

  1. Rust and JetBrains caches are cleaned: the Cargo registry download cache, rustup downloads and the JetBrains caches and index folders were listed but never removed, and mo clean now cleans them while no Rust tool or IDE is running; Cargo sources, git checkouts, toolchains and JetBrains Local History are kept.
  2. Steam games are uninstalled through Steam: mo uninstall hands a Steam game to the Steam client and waits for it to finish instead of holding for up to 30 minutes, and the game's library folder, including mods, is left to Steam in the preview and in the real run.
  3. MSI uninstalls wait for Windows Installer: when another installation is in progress, mo uninstall waits up to ten minutes instead of failing at once with error 1618.
  4. Safer cleanup: mo clean --system keeps crash dumps newer than seven days, browser extension data is refused, developer caches such as node-gyp, Electron, TypeScript, Go, Zed and Visual Studio wait until their tool has quit, and Office and Google Drive temporary files are held while the app runs.
  5. Chocolatey installs are recognized: for a copy installed through Chocolatey, mo update and mo remove print the choco command instead of changing files the package manager tracks.
  6. Other fixes: sizes freed by a tool's own cache command are counted above 2 GiB, Esc in mo analyze clears a multi-selection before leaving the view, and removing large folders takes less time.

更新日志

  1. 清理 Rust 与 JetBrains 缓存:Cargo 注册表下载缓存、rustup 下载文件以及 JetBrains 的 caches 和 index 目录此前只列出而不会被清理,现在 mo clean 会在没有 Rust 工具或 IDE 运行时清理它们,Cargo 源码、git 检出、工具链和 JetBrains 本地历史保留。
  2. Steam 游戏交由 Steam 卸载:mo uninstall 把 Steam 游戏交给 Steam 客户端并等待其完成,不再最长等待 30 分钟,游戏所在的库目录(包括模组)在预览和实际执行中都留给 Steam 处理。
  3. MSI 卸载等待 Windows Installer:有其他安装正在进行时,mo uninstall 最多等待十分钟,不再立即以错误 1618 失败。
  4. 清理更安全:mo clean --system 保留七天内的崩溃转储,浏览器扩展数据拒绝清理,node-gyp、Electron、TypeScript、Go、Zed 和 Visual Studio 等开发缓存在对应工具退出后才清理,Office 和 Google Drive 的临时文件在应用运行时保留。
  5. 识别 Chocolatey 安装:通过 Chocolatey 安装的副本,mo update 和 mo remove 会给出对应的 choco 命令,不再改动包管理器管理的文件。
  6. 其他修复:工具自带清理命令释放的空间超过 2 GiB 时也能正确统计,mo analyze 中按 Esc 会先取消多选再退出当前视图,删除大型目录的耗时减少。

Thanks

Issue reporters and PR contributors this cycle: @b84330808 · @r266-tech.

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.