From 0aa146ac3efdf6c110c513805344a35d584cb06c Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Sun, 25 May 2025 20:25:06 +0200 Subject: [PATCH] Cleanup / Linting --- Appslist.txt | 2 +- Get.ps1 | 2 +- README.md | 4 ++-- Win11Debloat.ps1 | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Appslist.txt b/Appslist.txt index 999df8d..aa7b62c 100644 --- a/Appslist.txt +++ b/Appslist.txt @@ -96,7 +96,7 @@ XING # ------------------------------------------------------------------------------------------------------------- # # The apps below this line will NOT be uninstalled by default. Remove the # character in front of any app you # -# want to UNINSTALL by default. # +# want to UNINSTALL by default. # # ------------------------------------------------------------------------------------------------------------- # #Microsoft.BingSearch # Web Search from Microsoft Bing (Integrates into Windows Search) #Microsoft.Copilot # New Microsoft Copilot app diff --git a/Get.ps1 b/Get.ps1 index d1ef6c7..513cda2 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -60,7 +60,7 @@ param ( # Show error if current powershell environment does not have LanguageMode set to FullLanguage if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") { - Write-Host "Error: Win11Debloat is unable to run on your system. Powershell execution is restricted by security policies" -ForegroundColor Red + Write-Host "Error: Win11Debloat is unable to run on your system. PowerShell execution is restricted by security policies" -ForegroundColor Red Write-Output "" Write-Output "Press enter to exit..." Read-Host | Out-Null diff --git a/README.md b/README.md index 6063e32..f700700 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo ### Default Settings -The default mode allows you to quickly and easily apply the changes that are recommended for most people. This includes uninstalling apps that most would consider bloatware, removing many annoying distractions and disabling telemetry and tracking. Expand the section below for more information. +Win11Debloat offers a 1-click default mode that allows you to quickly and easily apply the changes that are recommended for most people. This includes uninstalling apps that most would consider bloatware, removing many annoying distractions and disabling telemetry and tracking. Expand the section below for more information.
Click to expand @@ -326,7 +326,7 @@ The default mode allows you to quickly and easily apply the changes that are rec - Microsoft.RemoteDesktop* - Windows.DevHome* - * Can be removed by running the script with the relevant parameter. (See parameters section below) + * Can be removed by running the script with the relevant parameter. (Please refer to the wiki for more details)
diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index 5d09846..90347f7 100644 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -68,7 +68,7 @@ if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") { } # Log script output to 'Win11Debloat.log' at the specified path -if($LogPath -and (Test-Path $LogPath)) { +if ($LogPath -and (Test-Path $LogPath)) { Start-Transcript -Path "$LogPath/Win11Debloat.log" -Append -IncludeInvocationHeader -Force | Out-Null } else { @@ -581,7 +581,7 @@ function RestartExplorer { } # Only restart if the powershell process matches the OS architecture. - # Restarting explorer from a 32bit Powershell window will fail on a 64bit OS + # Restarting explorer from a 32bit PowerShell window will fail on a 64bit OS if ([Environment]::Is64BitProcess -eq [Environment]::Is64BitOperatingSystem) { Stop-Process -processName: Explorer -Force }