From 48cd513f145262623c7e89b678d44e9345628255 Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Tue, 16 Dec 2025 23:25:17 +0100 Subject: [PATCH] Remove unnecessary spacing --- Win11Debloat.ps1 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 4e9de90..2df75bb 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -989,12 +989,9 @@ function ShowDefaultMode { else { $RemoveAppsInput = ShowDefaultModeAppRemovalOptions - if ($script:selectedApps.contains('Microsoft.XboxGameOverlay') -or $script:selectedApps.contains('Microsoft.XboxGamingOverlay')) { - Write-Output "" - - if ($( Read-Host -Prompt "Disable Game Bar integration and game/screen recording? This also stops ms-gamingoverlay and ms-gamebar popups (y/n)" ) -eq 'y') { - $DisableGameBarIntegrationInput = $true; - } + if (($script:selectedApps.contains('Microsoft.XboxGameOverlay') -or $script:selectedApps.contains('Microsoft.XboxGamingOverlay')) -and + $( Read-Host -Prompt "Disable Game Bar integration and game/screen recording? This also stops ms-gamingoverlay and ms-gamebar popups (y/n)" ) -eq 'y') { + $DisableGameBarIntegrationInput = $true; } }