Skip to content

Commit 1a170a2

Browse files
committed
Update Get.ps1 to new release
1 parent a6a7232 commit 1a170a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Get.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Write-Output "------------------------------------------------------------------
7979
Write-Output "> Downloading Win11Debloat..."
8080

8181
# 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"
8383

8484
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
8585
if (Test-Path "$env:TEMP/Win11Debloat") {
@@ -92,10 +92,10 @@ Write-Output ""
9292
Write-Output "> Unpacking..."
9393

9494
# 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"
9696

9797
# Remove archive
98-
Remove-Item "$env:TEMP/win11debloat-temp.zip"
98+
Remove-Item "$env:TEMP/win11debloat.zip"
9999

100100
# Move files
101101
Get-ChildItem -Path "$env:TEMP/Win11Debloat/Raphire-Win11Debloat-*" -Recurse | Move-Item -Destination "$env:TEMP/Win11Debloat"

0 commit comments

Comments
 (0)