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