Skip to content

WinClean v2.18

Choose a tag to compare

@bivlked bivlked released this 20 Jul 21:14
· 65 commits to main since this release

WinClean v2.18

A correctness and hardening follow-up to 2.17. No new features. It closes seven findings from an external code review plus two more from an independent Codex second opinion. Every item was checked against the code first; the changes that touch driver deletion were confirmed on real Windows 11 VMs (ru-RU and en-US) before release.

Продолжение линии корректности и закалки из 2.17. Без новых функций. Закрыто семь замечаний внешнего ревью и ещё два от независимого второго мнения Codex. Каждый пункт сверен с кодом; правки, затрагивающие удаление драйверов, проверены на реальных Windows 11 VM (ru-RU и en-US) перед выпуском.

Highlights / Ключевое

Reliability / Надёжность

  • WSL/Docker disk compaction now checks diskpart's result: a failed compact vdisk is reported as a warning instead of a neutral "no space saved", and a failed wsl --shutdown skips compaction rather than touching a possibly-live disk.
  • Folder-size measurement tells an unreadable folder apart from an empty one, and a folder deleted without a measurable size is reported as unmeasured instead of being silently booked as zero.

Correctness / Корректность

  • Driver store "superseded" now requires a strictly newer version - a package of the same version with only an older date is no longer removed.
  • Driver store freed size no longer understates when some removed packages could be measured and others could not: the repository delta becomes authoritative whenever any removed package lacks a trusted size.

Security / Безопасность

  • The one-line install scripts (get.ps1, install.ps1) validate the download host against an exact allowlist instead of a broad *.github.com / *.githubusercontent.com suffix.

Under the hood / Под капотом

  • 279 -> 309 automated tests, including the diskpart failure decision, the strict superseded-version rule, the driver-store repository-delta fallback, and the exact host allowlist.

Full detail: CHANGELOG.md

Install / Установка

Run once (preview, no changes) / Разовый запуск (предпросмотр, без изменений):

irm https://raw.githubusercontent.com/bivlked/WinClean/main/get.ps1 | iex

Install with a desktop shortcut (elevated terminal) / Установка с ярлыком (терминал администратора):

irm https://raw.githubusercontent.com/bivlked/WinClean/main/install.ps1 | iex

Both verify the download's SHA256 against the published hash before running anything.
Оба сверяют SHA256 загрузки с опубликованным хешем перед запуском.