Added option to disable gameDVR, clearing start now backs up old file + more

Added new option to disable Game DVR. (#62)
Clearing the start menu now creates a backup of the current start menu file. (#60)
Fixed unnecessarily setting path variable in Get.ps1 in some situations (#59)
This commit is contained in:
Raphire
2024-05-24 14:13:15 +02:00
parent 9401de8bc7
commit 6ec319b272
5 changed files with 41 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ param (
[switch]$RemoveCommApps,
[switch]$RemoveDevApps,
[switch]$RemoveW11Outlook,
[switch]$DisableDVR,
[switch]$DisableTelemetry,
[switch]$DisableBingSearches, [switch]$DisableBing,
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
@@ -51,6 +52,9 @@ if ((Get-AppxPackage -Name "*Microsoft.DesktopAppInstaller*") -and ((winget -v)
{
Write-Output "> Installing git..."
winget install git.git --accept-package-agreements --accept-source-agreements --disable-interactivity --no-upgrade
# Add default install location of git to path
$env:Path += ';C:\Program Files\Git\cmd'
Write-Output ""
}
@@ -58,9 +62,6 @@ if ((Get-AppxPackage -Name "*Microsoft.DesktopAppInstaller*") -and ((winget -v)
# Navigate to user temp directory
cd $env:TEMP
# Add default install location of git to path
$env:Path += ';C:\Program Files\Git\cmd'
# Download Win11Debloat from github
Write-Output "> Downloading Win11Debloat..."
git clone https://github.com/Raphire/Win11Debloat/