github tw93/Mole V1.31.0-windows

latest release: V1.32.0-windows
3 hours ago
Mole Logo

Mole for Windows

Deep clean and optimize your PC.

Changelog

  1. Previews change nothing: mo uninstall --dry-run and mo purge --dry-run now only report what would happen; before, a preview with MOLE_DRY_RUN=1 still ran each app's uninstaller.
  2. Safe next to Mole for Windows: The CLI now installs into %LOCALAPPDATA%\Programs\mole-cli, and mo remove keeps the Mole for Windows app's license, settings, backups and Start menu entry instead of deleting the shared folder.
  3. Linked folders stay intact: A node_modules holding pnpm or npm link junctions is removed as links, so the files they point to are never touched.
  4. Signed and verified: Every script and executable is code-signed, and the analyze and status tools are only used when they match the release checksums.
  5. Same look as the macOS CLI: mo shows the Mole logo with https://mole.fit/windows, the same five-command menu with M for help, V for version and Q to quit, and mo --help and mo --version match macOS.
  6. Help and options behave: mo <command> --help works for every command, unknown options are refused instead of running the command, and mo remove asks before removing.
  7. Clean output adds up: mo clean no longer prints internal tables, the dry run shows the space it would reclaim with every path in clean-list.txt, error reports and memory dumps are counted once, and ~/.gitconfig.lock is left alone.

更新日志

  1. 预览不会再动任何东西:mo uninstall --dry-run 和 mo purge --dry-run 现在只列出会发生什么,之前用 MOLE_DRY_RUN=1 预览卸载时,仍然会真的去运行每个 App 自己的卸载程序。
  2. 和 Mole for Windows 装在同一台电脑也安全:CLI 改装到 %LOCALAPPDATA%\Programs\mole-cli,mo remove 会保留 Mole for Windows 的授权、设置、备份和开始菜单入口,不再把共用的文件夹整个删掉。
  3. 链接过去的文件夹不会被误删:pnpm 或 npm link 生成的 node_modules 里有 junction 时,只删除链接本身,链接指向的原始文件一个都不碰。
  4. 签名并校验:所有脚本和可执行文件都做了代码签名,analyze 和 status 下载后必须和发布页的校验和一致才会使用。
  5. 和 macOS 版长得一样:输入 mo 会显示 Mole 的 logo 和 https://mole.fit/windows,菜单同样是五个命令,按 M 看帮助、V 看版本、Q 退出,mo --help 和 mo --version 也和 macOS 一致。
  6. 帮助和参数都能正常用:每个命令的 mo <命令> --help 都能显示帮助,不认识的参数会直接拒绝,不再带着它去执行命令,mo remove 也会先问一句再删。
  7. 清理结果对得上:mo clean 不再打印内部表格,预览会给出能清理出的空间,并把每个路径写进 clean-list.txt,错误报告和内存转储只算一次,~/.gitconfig.lock 也不再删除。

Install

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

Already installed? Run mo update. The files below are what package managers and mo download; every script and executable is 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.

Don't miss a new Mole release

NewReleases is sending notifications on new releases.