projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b8288
)
more powershell
author
AJ ONeal
<aj@therootcompany.com>
Tue, 30 Jun 2020 07:23:44 +0000
(07:23 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Tue, 30 Jun 2020 07:23:53 +0000
(07:23 +0000)
_webi/bootstrap.ps1
patch
|
blob
|
history
diff --git
a/_webi/bootstrap.ps1
b/_webi/bootstrap.ps1
index 020d6b7f1f9f05a43715fb2650753e035d88a31f..f4f1a091606defff3e51887d8e76a6775b637510 100644
(file)
--- 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"