From 033fa1b8af6a67d1f2856314bb0bdfa4d21cf0ef Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Thu, 19 Feb 2026 22:26:17 +0100 Subject: [PATCH] Fix force remove edge prompt (#483) --- Win11Debloat.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 1728167..3496dda 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -508,7 +508,7 @@ function RemoveApps { } else { # Uninstall app via WinGet - winget uninstall --accept-source-agreements --disable-interactivity --id $app + $wingetOutput = winget uninstall --accept-source-agreements --disable-interactivity --id $app If (($app -eq "Microsoft.Edge") -and (Select-String -InputObject $wingetOutput -Pattern "Uninstall failed with exit code")) { Write-ToConsole "Unable to uninstall Microsoft Edge via WinGet" -ForegroundColor Red