Updated install-powershell.ps1

This commit is contained in:
Markus Fleschutz 2024-11-03 12:03:52 +01:00
parent a786175c4f
commit 1238f58800

View File

@ -355,7 +355,7 @@ try {
tar zxf $packagePath -C $contentPath
}
} else {
Write-Host "⏳ (1/5) Loading details from https://raw.githubusercontent.com ..."
Write-Host "⏳ (1/5) Querying infos from https://raw.githubusercontent.com ..."
$metadata = Invoke-RestMethod https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json
if ($Preview) {
$release = $metadata.PreviewReleaseTag -replace '^v'