From 1a170a2db128fefd948f0a11f005194cc1224b2e Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Thu, 12 Jun 2025 22:05:44 +0200 Subject: [PATCH] Update Get.ps1 to new release --- Get.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Get.ps1 b/Get.ps1 index 3969adc..3871760 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -79,7 +79,7 @@ Write-Output "------------------------------------------------------------------ Write-Output "> Downloading Win11Debloat..." # Download latest version of Win11Debloat from github as zip archive -Invoke-WebRequest https://github.com/Raphire/Win11Debloat/zipball/2025.06.11 -OutFile "$env:TEMP/win11debloat-temp.zip" +Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.06.12 -OutFile "$env:TEMP/win11debloat.zip" # Remove old script folder if it exists, except for CustomAppsList and SavedSettings files if (Test-Path "$env:TEMP/Win11Debloat") { @@ -92,10 +92,10 @@ Write-Output "" Write-Output "> Unpacking..." # Unzip archive to Win11Debloat folder -Expand-Archive "$env:TEMP/win11debloat-temp.zip" "$env:TEMP/Win11Debloat" +Expand-Archive "$env:TEMP/win11debloat.zip" "$env:TEMP/Win11Debloat" # Remove archive -Remove-Item "$env:TEMP/win11debloat-temp.zip" +Remove-Item "$env:TEMP/win11debloat.zip" # Move files Get-ChildItem -Path "$env:TEMP/Win11Debloat/Raphire-Win11Debloat-*" -Recurse | Move-Item -Destination "$env:TEMP/Win11Debloat"