v1.3.3
unslop-windows v1.3.3
Added
- Git Hook Installer Unit Tests (
tests/Install-GitHooks.Tests.ps1): Added 9 Pester 6+ unit and mocking tests coveringscripts/Install-GitHooks.ps1, including git binary availability invariants, repository boundary checks, hook uninstallation (-Uninstall), prerequisite package installation (-InstallPrerequisites), and gate execution pipelines. - System State Benchmark Test Suite (
tests/Measure-SystemState.Tests.ps1): Added 15 Pester 6+ unit and integration tests coveringscripts/Measure-SystemState.ps1, including RAM and commit metrics computation, active process/thread counters, telemetry service and task status mapping, AppX package counts, non-elevated error handling, snapshot comparisons (-Baseline,-Target,-Compare), and Markdown benchmark report generation (-ExportMarkdown). - Extensible Multi-Suite Discovery in Test-MasterGate.ps1: Modernized Step 4 of the Master Quality Gate to dynamically discover and execute auxiliary test suites (
Install-GitHooks.Tests.ps1,Measure-SystemState.Tests.ps1) alongside the core Windows 11 and Windows 10 engine test suites in a single unified Pester run (expanding coverage to 85 passing tests).
Fixed
- Divide-by-Zero Protection in Measure-SystemState.ps1: Added a safe zero-check to
UsedRAM_Percentcalculation inscripts/Measure-SystemState.ps1to prevent arithmetic exceptions when querying systems with uninitialized or mocked memory metrics. - Dot-Source Guard in Measure-SystemState.ps1: Added procedural execution guard (
if ($MyInvocation.InvocationName -eq '.') { return }) allowing external harnesses and Pester suites to safely importGet-SystemMetricswithout triggering immediate live metric collection or output generation.
Quick Installation & Usage
- Download
unslop-windows-v1.3.3.zipfrom Assets below. - Extract the archive to any directory.
- Right-click
unslop.batand choose Run as administrator (or double-click and accept the UAC elevation prompt). - Select your operating system from the selection menu:
- [1] Windows 11: Targets 25H2, 24H2, 23H2, 22H2, 21H2 (runs
unslop-win11.ps1). - [2] Windows 10: Targets 22H2, 21H2, 20H2, Enterprise LTSC, Builds 10240-19045 (runs
unslop-win10.ps1). - [0] Exit: Close the launcher.
- [1] Windows 11: Targets 25H2, 24H2, 23H2, 22H2, 21H2 (runs
- Choose an option from the OS feature menu:
- [1] Full Debloat: Remove OneDrive, telemetry and provisioned bloatware.
- [2] Gamer Preset: Debloat, keep Xbox & Gaming Services (
-KeepXbox). - [3] Productivity Preset: Debloat, keep OneDrive & Microsoft To-Do (
-KeepOneDrive -KeepTodos). - [4] Interactive Toggles: Configure custom feature combinations with visual toggle states.
- [5] Safe Dry-Run Audit: Inspect all changes safely with zero system modifications (
-DryRun). - [6] Full Restore / Undo: Symmetrically revert all tweaks back to defaults (
-Undo). - [7] Custom CLI Flags: Manually enter parameter switches (e.g.
-KeepTodos -KeepXbox -NoRestart). - [8] Back to OS Selection: Return to the main OS choice screen.
- [0] Exit: Close the launcher.
Verification & Integrity
Verify archive integrity using the published SHA256SUMS.txt:
Get-FileHash .\unslop-windows-v1.3.3.zip -Algorithm SHA256