From 661b61d14db5f58b450d2618867c120cfe9e06a2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 Jun 2020 07:23:44 +0000 Subject: [PATCH] more powershell --- _webi/bootstrap.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_webi/bootstrap.ps1 b/_webi/bootstrap.ps1 index 020d6b7..f4f1a09 100644 --- a/_webi/bootstrap.ps1 +++ b/_webi/bootstrap.ps1 @@ -32,8 +32,9 @@ Invoke-WebRequest "$Env:WEBI_HOST/packages/_webi/webi.ps1" -OutFile webi.ps1 popd -# Run webi.bat -& .\.local\bin\webi.bat {{ exename }} +# Run webi.ps1 +#TODO Set-ExecutionPolicy -ExecutionPolicy Bypass +& Invoke-Expression "powershell -ExecutionPolicy Bypass .\.local\bin\webi.ps1 {{ exename }}" # Run pathman to set up the folder #& "$Env:USERPROFILE\.local\bin\pathman.exe" add "$Env:USERPROFILE\.local\.bin" -- 2.25.1