Repository navigation
Releases
Releases · Yangxbao/CleanSweep
CleanSweep v1.1.1 — 资料清理界面优化 / File-cleaner UI polish
CleanSweep v1.1.1
简体中文
🎨 资料清理界面优化
- 预览面板紧贴列表:修复列表与预览面板之间出现大块空白的问题——列表现在真正撑满剩余宽度;两者之间改为可拖动的分隔条,拖到多宽图片就显示多大;
- 图片随窗口自适应:拖动分隔条或缩放窗口后,预览图会按面板实际大小自动重新生成(原来按固定尺寸生成,缩放后会被裁剪或看不全);
- 新增「← 返回卸载主界面」按钮:窗口左上角,点一下即可回到软件列表页(关闭窗口等效)。
下载与校验
- CleanSweep.exe:Windows 10/11 x64,单文件免安装,双击运行(UAC 管理员权限)
- SHA256:
30de3ed19cef5a6b3c03b0c30ce783dbde888cd6344102b4467695bc132d0f5f
certutil -hashfile CleanSweep.exe SHA256English
🎨 File-cleaner UI improvements
- Preview panel now hugs the list: fixed the large blank gap between the results list and the preview panel — the list now really fills the remaining width; the two panes are separated by a draggable sash, so the preview can be made as wide as you drag it;
- Zoom-adaptive preview: after dragging the sash or resizing the window, the preview image is regenerated at the panel's actual size (it used to be generated at a fixed size and got clipped);
- New "← 返回卸载主界面" (back to uninstaller) button at the top-left of the window — one click returns to the main app list (same as closing the window).
Download & verification
- CleanSweep.exe: Windows 10/11 x64, single portable file, runs with admin elevation (UAC)
- SHA256:
30de3ed19cef5a6b3c03b0c30ce783dbde888cd6344102b4467695bc132d0f5f
certutil -hashfile CleanSweep.exe SHA256CleanSweep v1.1.0 — 资料文件清理 / Personal file cleaner
CleanSweep v1.1.0
简体中文
🆕 新功能:资料文件清理
主窗口新增 「资料清理(图片/文档/PPT…)」 按钮,打开独立窗口:
- 按类别一键查找本机资料:图片(jpg/png/gif/bmp/webp/heic…)、文档(Word/PPT/Excel/WPS/CSV…)、PDF、文本、音视频、压缩包,任意组合;
- 扫描范围:默认桌面/文档/下载/图片/视频(自动识别重定向位置),可添加任意文件夹;系统与程序目录默认跳过,扫描全程只读、可随时取消;
- 图片预览:单击列表中的图片行,右侧立即显示缩略图(GDI+ 解码,零第三方依赖),支持 JPG/PNG/GIF/BMP/TIFF/WebP/ICO;双击行用系统默认程序打开(看大图/Office),另有「打开所在位置」按钮;
- 创建时间排序:列表含类别/大小/修改时间/创建时间/路径五列,点击列标题排序(再点切换升降序);
- 安全删除:默认一项都不勾选,逐项确认后删除;默认进回收站(可还原),永久删除需二次确认;删除在工作线程分块执行,失败自动逐个重试,生成 Markdown 清理报告。
🐞 修复
- 双击/勾选定位错行:列表事件处理把鼠标横向坐标误传给行定位函数,导致双击打开的路径、勾选的行与看到的不一致(资料清理列表与卸载残留确认对话框同款问题,均已修复);
- 预览解码链路修复并新增端到端回归测试(真实窗口选中图片 → 断言预览控件渲染成功)。
下载与校验
- CleanSweep.exe:Windows 10/11 x64,单文件免安装,双击运行(UAC 管理员权限)
- SHA256:
24f3f1ed4db37a004a53edd18c6d0993cef2ae133bd75e45c62f4b7852fb6ef8
certutil -hashfile CleanSweep.exe SHA256English
🆕 New: personal file cleaner
A new "资料清理" (file cleaner) button in the main window opens a dedicated window:
- One-click search by category: images (jpg/png/gif/bmp/webp/heic…), documents (Word/PPT/Excel/WPS/CSV…), PDF, text, audio/video, archives — any combination;
- Scope: Desktop/Documents/Downloads/Pictures/Videos by default (redirect-aware), custom folders welcome; system & program directories are skipped by default; scanning is read-only and cancellable;
- Image preview: single-click a row to see the thumbnail instantly in the side panel (decoded via GDI+, zero third-party deps; JPG/PNG/GIF/BMP/TIFF/WebP/ICO); double-click opens the file with its default system program;
- Creation-time sorting: category/size/modification time/creation time/path columns — click a header to sort, click again to flip;
- Safe deletion: nothing is checked by default; recycle-bin-first with an extra confirmation for permanent deletion; chunked worker-thread deletion with per-file retry; Markdown cleanup report.
🐞 Fixes
- Wrong-row clicks: list event handlers passed the mouse X coordinate to the row-lookup function, so double-clicks and checkbox toggles acted on a different row than the one you saw (both in the file cleaner and the leftover-confirmation dialog) — fixed;
- The preview decode pipeline was repaired and is now covered by an end-to-end regression test (real window, real selection, asserts the preview widget renders).
Download & verification
- CleanSweep.exe: Windows 10/11 x64, single portable file, runs with admin elevation (UAC)
- SHA256:
24f3f1ed4db37a004a53edd18c6d0993cef2ae133bd75e45c62f4b7852fb6ef8
certutil -hashfile CleanSweep.exe SHA256CleanSweep v1.0.0
CleanSweep v1.0.0
简体中文
🎉 首个公开版本
CleanSweep 彻底卸载助手:列出电脑上所有已安装软件,一键调用官方卸载程序,自动扫描并清理残留文件与注册表项,生成清理报告。运行时零第三方依赖,单个 exe 免安装。
功能亮点
- 通过注册表 Uninstall 键(HKLM/HKCU × 64/32 位视图)枚举全部已安装软件,支持按大小、安装日期、风险等级排序与实时搜索
- 先运行软件官方卸载程序,再自动扫描残留(
Program Files、AppData、ProgramData、开始菜单、HKLM\SOFTWARE、HKCU\Software等) - 每个软件显示残留风险等级(高/中/低),高风险卸载前重点提醒
- 删除前逐项人工确认;文件默认进回收站,注册表删除前自动导出
.reg备份,可选创建系统还原点 - 每次操作生成 Markdown 清理报告
🐞 重点修复:卸载流氓软件时程序卡死
在卸载不退出的"流氓"卸载器(如哔哩哔哩 PC 客户端)时,此前版本会彻底卡死。本版本做了系统性修复:
- 日志阻塞死锁:日志由逐条阻塞主线程改为线程安全缓冲 + 每 0.3 秒批量刷新,工作线程永不因日志阻塞;
- 静默长等待:等待官方卸载程序改为 60 秒硬超时,期间每 10 秒输出心跳日志;
- 一键强杀:新增「强制结束卸载进程并继续」按钮,超时也会自动
taskkill /F /T——强杀前先用tasklist精确匹配由卸载命令与安装目录推导出的进程名,系统进程/浏览器/本工具自身在保护名单中永不被杀,推导不出则跳过强杀; - MSI 特殊保护:强杀
msiexec需二次确认,避免损坏 Windows Installer 数据库; - 启动与扫描:
ShellExecuteEx移入独立线程;残留扫描支持随时取消;所有对话框强制前置显示。
完整根因分析见 README。
下载与校验
- CleanSweep.exe:Windows 10/11 x64,单文件免安装,双击运行(UAC 管理员权限)
- SHA256:
169ebf7e2a02cfc98a17639fbb4354bc15158ceb1c453e51303f3ef6c894bd66
certutil -hashfile CleanSweep.exe SHA256English
🎉 First public release
CleanSweep lists every installed program, runs each program's official uninstaller, then automatically scans for and removes leftover files and registry entries, and generates a cleanup report. Zero third-party runtime dependencies; ships as a single portable exe.
Highlights
- Enumerates all installed programs from the registry Uninstall keys (HKLM/HKCU × 64/32-bit views); sortable by size, install date and risk level, with live search
- Runs the official uninstaller first, then scans for leftovers (
Program Files,AppData,ProgramData, Start Menu,HKLM\SOFTWARE,HKCU\Software…) - Per-program residue risk level (High/Medium/Low) with a red warning before uninstalling high-risk apps
- Item-by-item confirmation before deletion; files go to the Recycle Bin by default; registry keys are exported as
.regbackups first; optional System Restore point - Markdown cleanup report for every operation
🐞 Focus fix: UI freeze when uninstalling rogue software
The previous internal builds froze completely when an uninstaller refused to exit (e.g. the Bilibili desktop client). This release fixes it systematically:
- Logging deadlock: logs moved from per-line blocking dispatch to a thread-safe buffer flushed in batches every 0.3 s — worker threads never block on logging;
- Silent long waits: the uninstaller wait now has a hard 60-second timeout with heartbeat logs every 10 seconds;
- One-click force-kill: a new "Force-kill uninstaller and continue" button; the timeout also auto-kills via
taskkill /F /T— but only after matching process names derived from the uninstall command and install folder againsttasklist; system processes, browsers and CleanSweep itself are on a protected list; if no name can be derived, force-kill is skipped; - MSI protection: killing
msiexecrequires an extra confirmation to avoid corrupting the Windows Installer database; - Launch & scan:
ShellExecuteExruns on a dedicated thread; leftover scans are cancellable; every dialog is force-raised so nothing hides behind the rogue uninstaller's windows.
Full root-cause analysis: README.
Download & verification
- CleanSweep.exe: Windows 10/11 x64, single portable file, runs with admin elevation (UAC)
- SHA256:
169ebf7e2a02cfc98a17639fbb4354bc15158ceb1c453e51303f3ef6c894bd66
certutil -hashfile CleanSweep.exe SHA256