Skip to content

v1.1.5

Choose a tag to compare

@github-actions github-actions released this 10 Sep 15:26
· 32 commits to main since this release

unslop-windows v1.1.5

Security

  • Reparse Point & Symlink Traversal Defense (scripts/Measure-SystemState.ps1): Resolved $snapshotPath before checking directory attributes and enforced exit 1 fail-closed termination when a reparse point or directory junction is encountered in user profiles, preventing symlink redirection attacks (OPSEC-01).

Added

  • Local Pre-Commit Git Hook (.githooks/pre-commit): Added automated pre-commit quality gate execution running rapid AST, PSScriptAnalyzer and CRLF integrity checks on feature branches and full 7-pillar gates on main.
  • Automated Developer Prerequisite Installer (scripts/Install-GitHooks.ps1): Added -InstallPrerequisites switch to automatically discover and install Pester 5+ and PSScriptAnalyzer into the current user's profile and configure Git hook paths in a single command.
  • Production PR Standards Documentation (CONTRIBUTING.md): Testing guidelines, Git hook lifecycles and mandatory pull request checklist requiring 0 failures under Test-MasterGate.ps1 -Strict.
  • Architectural Decision Record (docs/decisions.md): Documented ADR-021 detailing diagnostic benchmark security, multi-architecture AppX array binding and local developer hook gates.

Fixed

  • AppX Multi-Architecture Parameter Binding (unslop.ps1): Handled multi-architecture AppX matches safely by iterating over matched packages (foreach ($pkg in $match)) rather than binding package arrays directly to Add-AppxPackage -PackagePath.
  • Log Buffer Variable Scoping (unslop.ps1): Explicitly scoped $script:log in the log buffer export routine, guaranteeing complete log flushing even when called across nested scopes.

Changed

  • Interactive Batch Toggles Sub-Menu UX (unslop.bat): Added a dynamic active flags preview banner, a quick reset toggle ([0] Reset all options to default) and streamlined argument construction by directly reusing validated active switches.

Quick Installation & Usage

  1. Download unslop-windows-v1.1.5.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 an option from the interactive 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).
    • [0] Exit: Close the launcher.

Verification & Integrity

Verify archive integrity using the published SHA256SUMS.txt:

Get-FileHash .\unslop-windows-v1.1.5.zip -Algorithm SHA256