mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
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:
7
Get.ps1
7
Get.ps1
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user