Skip to content

v1.3.3

Choose a tag to compare

@github-actions github-actions released this 26 Sep 22:30
· 12 commits to main since this release

unslop-windows v1.3.3

Added

  • Git Hook Installer Unit Tests (tests/Install-GitHooks.Tests.ps1): Added 9 Pester 6+ unit and mocking tests covering scripts/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 covering scripts/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_Percent calculation in scripts/Measure-SystemState.ps1 to 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 import Get-SystemMetrics without triggering immediate live metric collection or output generation.

Quick Installation & Usage

  1. Download unslop-windows-v1.3.3.zip from Assets below.
  2. Extract the archive to any directory.
  3. Right-click unslop.bat and choose Run as administrator (or double-click and accept the UAC elevation prompt).
  4. 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.
  5. 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