mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-21 04:56:39 +00:00
9 lines
334 B
PowerShell
9 lines
334 B
PowerShell
#!/bin/pwsh
|
|
|
|
Write-Output "'pwsh@$Env:WEBI_TAG' is an alias for 'powershell@$Env:WEBI_VERSION'"
|
|
|
|
$PwshBootUrl = "$Env:WEBI_HOST/powershell@$Env:WEBI_VERSION"
|
|
$PwshBootScript = "$HOME\.local\tmp\install-pwsh-boot.ps1"
|
|
Invoke-DownloadUrl -Force -URL $PwshBootUrl -Path $PwshBootScript
|
|
powershell -ExecutionPolicy Bypass $PwshBootScript
|