From 98fce954f0800a05cf618c8dcd1b649f401d2786 Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Sun, 1 Feb 2026 13:12:32 +0100 Subject: [PATCH] Await user input before falling back to CLI --- Win11Debloat.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index ff4ab21..e58a41a 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -2989,6 +2989,12 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSa } catch { Write-Warning "Unable to load WPF GUI (not supported in this environment), falling back to CLI mode" + if (-not $Silent) { + Write-Host "" + Write-Host "Press any key to continue..." + $null = [System.Console]::ReadKey() + } + $Mode = ShowScriptMenuOptions } }