github tw93/Mole V1.22.1
V1.22.1 Fortified 🦉

7 hours ago
Mole Logo

Mole V1.22.1

Deep clean and optimize your Mac.

Changelog

  1. mo clean - UI Performance & Responsiveness: Doubled spinner animation speed from 100ms to 50ms for smoother visual feedback, eliminated visual flicker by deferring spinner stop until output is ready, removed redundant status messages for whitelist-protected items (Trash, Finder metadata), added continuous spinner feedback for system diagnostic log cleanup creating a more polished and professional cleaning experience
  2. mo uninstall - Security & Safety Hardened: Removed unsafe empty folder cleanup logic that previously caused critical data loss in Postgres databases and Steam game locks, restricted BOM receipt scanning whitelist to app-specific directories preventing deletion of shared system frameworks, added path traversal protection and bundle ID format validation to prevent injection attacks, strengthened LaunchAgents detection with 5-character minimum threshold and automatic exclusion of com.apple.* system services
  3. mo uninstall - Homebrew Experience Improved: Real-time output display during brew uninstall showing every step instead of black screen waiting, integrated brew autoremove with progress indicator to automatically clean orphaned dependencies, added 300-second timeout protection to prevent hanging, fixed sudo validation in non-interactive test environments
  4. mo uninstall - Launch Items Auto-Cleanup: Automatically removes associated LaunchAgents/LaunchDaemons when uninstalling apps scanning ~/Library/LaunchAgents, /Library/LaunchAgents, and /Library/LaunchDaemons, includes Login Items cleanup to eliminate ghost processes on startup, only triggers during explicit app uninstallation for maximum safety
  5. mo status - Network Visualization Enhanced: Added sparkline graphs using 8-level block characters (▁▂▃▄▅▆▇█) to display traffic trends, 120-point rolling buffer tracks approximately 2 minutes of network history, responsive width automatically adjusts chart size based on terminal dimensions, upgraded gopsutil from v3 to v4 for better Apple Silicon support and 15% lower memory usage
  6. Bug Fixes - Critical Issues Resolved: Fixed Microsoft Teams being misidentified as Edge by switching from fuzzy to exact process name matching, corrected pnpm store path from incorrect ~/.pnpm-store to official ~/Library/pnpm/store, resolved special character password input failures by removing unnecessary stty settings, prevented duplicate history entries when scanning same path multiple times, fixed Dock cleanup for /Applications symlink by preserving logical paths instead of resolving physical paths

更新日志

  1. mo clean - UI 性能与响应速度提升:Spinner 动画速度从 100ms 提升至 50ms 带来更流畅的视觉反馈,延迟 spinner 停止直到输出准备好消除视觉闪烁,移除白名单保护项(废纸篓、Finder 元数据)的冗余状态消息,为系统诊断日志清理添加持续 spinner 反馈打造更专业的清理体验
  2. mo uninstall - 安全防护加固:移除不安全的空文件夹清理逻辑避免误删 Postgres 数据库和 Steam 游戏锁文件,限制 BOM 收据扫描白名单至应用专用目录防止删除系统共享框架,添加路径遍历防护和 Bundle ID 格式验证阻止注入攻击,强化 LaunchAgents 检测采用 5 字符最小阈值并自动排除 com.apple.* 系统服务
  3. mo uninstall - Homebrew 体验改进:brew uninstall 过程实时输出显示每一步而非黑屏等待,集成 brew autoremove 带进度提示自动清理孤立依赖,添加 300 秒超时保护防止挂起,修复非交互测试环境中的 sudo 验证问题
  4. mo uninstall - 启动项自动清理:卸载应用时自动移除关联的 LaunchAgents/LaunchDaemons 扫描 ~/Library/LaunchAgents、/Library/LaunchAgents 和 /Library/LaunchDaemons,包含登录项清理消除开机幽灵进程,仅在明确卸载应用时触发确保最大安全性
  5. mo status - 网络可视化增强:使用 8 级块字符(▁▂▃▄▅▆▇█)的 sparkline 图表显示流量趋势,120 点滚动缓冲区追踪约 2 分钟的网络历史,响应式宽度根据终端尺寸自动调整图表大小,升级 gopsutil 从 v3 到 v4 改善 Apple Silicon 支持并降低 15% 内存使用
  6. Bug 修复 - 关键问题解决:修复 Microsoft Teams 被误识别为 Edge 通过从模糊匹配切换到精确进程名匹配,更正 pnpm 存储路径从错误的 ~/.pnpm-store 到官方的 ~/Library/pnpm/store,解决特殊字符密码输入失败通过移除不必要的 stty 设置,防止扫描相同路径时添加重复历史记录,修复 /Applications 符号链接的 Dock 清理通过保留逻辑路径而非解析物理路径

Thanks to @bikraj2, @alexandear-org, @iamxorum, @NanmiCoder, @JackPhallen, and all contributors for their help in this release!

https://github.com/tw93/Mole

Don't miss a new Mole release

NewReleases is sending notifications on new releases.