mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-08-22 07:36:25 +00:00
Update download messages for development and stable versions of Win11Debloat
This commit is contained in:
+2
-2
@@ -121,13 +121,13 @@ $tempRootPath = $env:TEMP
|
||||
$tempWorkPath = Join-Path $tempRootPath 'Win11Debloat'
|
||||
$tempArchivePath = Join-Path $tempRootPath 'win11debloat.zip'
|
||||
|
||||
Write-Output "> Downloading Win11Debloat..."
|
||||
|
||||
# Download Win11Debloat from GitHub as a zip archive.
|
||||
try {
|
||||
if ($Dev) {
|
||||
Write-Output "> Downloading development version of Win11Debloat..."
|
||||
$sourceUri = "https://github.com/Raphire/Win11Debloat/archive/refs/heads/master.zip"
|
||||
} else {
|
||||
Write-Output "> Downloading Win11Debloat..."
|
||||
$sourceUri = (Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/releases/latest).zipball_url
|
||||
}
|
||||
Invoke-RestMethod $sourceUri -OutFile $tempArchivePath
|
||||
|
||||
Reference in New Issue
Block a user