mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-25 16:18:55 +01:00
Updated install-powershell.ps1
This commit is contained in:
parent
a786175c4f
commit
1238f58800
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user