From 1b521fc4079e7f0b4ba0821757d6e3f3c2bbbd49 Mon Sep 17 00:00:00 2001 From: Jon Kunkee Date: Sat, 4 Jul 2020 15:53:41 -0700 Subject: [PATCH] Simplify boostrap.ps1 --- _webi/bootstrap.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_webi/bootstrap.ps1 b/_webi/bootstrap.ps1 index 202f87d..8e7687f 100644 --- a/_webi/bootstrap.ps1 +++ b/_webi/bootstrap.ps1 @@ -2,6 +2,5 @@ IF (!(Test-Path -Path .local\bin)) { New-Item -Path .local\bin -ItemType Directory } 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.ps1" -o "$Env:USERPROFILE\.local\bin\webi.ps1" -pushd "$Env:USERPROFILE" -& powershell -ExecutionPolicy Bypass ".local\bin\webi.ps1" "{{ exename }}" -popd +Set-ExecutionPolicy -Scope Process Bypass +& "$Env:USERPROFILE\a b\webi.ps1" "{{ exename }}" -- 2.25.1