mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 01:40:17 +00:00
7 lines
443 B
PowerShell
7 lines
443 B
PowerShell
# Download the latest webi, then install {{ exename }}
|
|
New-Item -Path .local\bin -ItemType Directory -Force | out-null
|
|
IF ($Env:WEBI_HOST -eq $null -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" }
|
|
curl.exe -s -A "windows" "$Env:WEBI_HOST/packages/_webi/webi-pwsh.ps1" -o "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1"
|
|
Set-ExecutionPolicy -Scope Process Bypass
|
|
& "$Env:USERPROFILE\.local\bin\webi-pwsh.ps1" "{{ exename }}"
|