Update download messages for development and stable versions of Win11Debloat

This commit is contained in:
Jeffrey
2026-07-14 21:18:39 +02:00
parent ce36b8edfb
commit 8fa1332ff0
+2 -2
View File
@@ -121,13 +121,13 @@ $tempRootPath = $env:TEMP
$tempWorkPath = Join-Path $tempRootPath 'Win11Debloat' $tempWorkPath = Join-Path $tempRootPath 'Win11Debloat'
$tempArchivePath = Join-Path $tempRootPath 'win11debloat.zip' $tempArchivePath = Join-Path $tempRootPath 'win11debloat.zip'
Write-Output "> Downloading Win11Debloat..."
# Download Win11Debloat from GitHub as a zip archive. # Download Win11Debloat from GitHub as a zip archive.
try { try {
if ($Dev) { if ($Dev) {
Write-Output "> Downloading development version of Win11Debloat..."
$sourceUri = "https://github.com/Raphire/Win11Debloat/archive/refs/heads/master.zip" $sourceUri = "https://github.com/Raphire/Win11Debloat/archive/refs/heads/master.zip"
} else { } else {
Write-Output "> Downloading Win11Debloat..."
$sourceUri = (Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/releases/latest).zipball_url $sourceUri = (Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/releases/latest).zipball_url
} }
Invoke-RestMethod $sourceUri -OutFile $tempArchivePath Invoke-RestMethod $sourceUri -OutFile $tempArchivePath