File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ Write-Output "------------------------------------------------------------------
79
79
Write-Output " > Downloading Win11Debloat..."
80
80
81
81
# Download latest version of Win11Debloat from github as zip archive
82
- Invoke-WebRequest https:// github.com / Raphire/ Win11Debloat/ zipball/ 2025.06 .11 - OutFile " $env: TEMP /win11debloat-temp .zip"
82
+ Invoke-RestMethod https:// api. github.com/ repos / Raphire/ Win11Debloat/ zipball/ 2025.06 .12 - OutFile " $env: TEMP /win11debloat.zip"
83
83
84
84
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
85
85
if (Test-Path " $env: TEMP /Win11Debloat" ) {
@@ -92,10 +92,10 @@ Write-Output ""
92
92
Write-Output " > Unpacking..."
93
93
94
94
# Unzip archive to Win11Debloat folder
95
- Expand-Archive " $env: TEMP /win11debloat-temp .zip" " $env: TEMP /Win11Debloat"
95
+ Expand-Archive " $env: TEMP /win11debloat.zip" " $env: TEMP /Win11Debloat"
96
96
97
97
# Remove archive
98
- Remove-Item " $env: TEMP /win11debloat-temp .zip"
98
+ Remove-Item " $env: TEMP /win11debloat.zip"
99
99
100
100
# Move files
101
101
Get-ChildItem - Path " $env: TEMP /Win11Debloat/Raphire-Win11Debloat-*" - Recurse | Move-Item - Destination " $env: TEMP /Win11Debloat"
You can’t perform that action at this time.
0 commit comments