projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore(style): add shebang, set bash strict mode, create function
[webi-installers/.git]
/
_webi
/
webi.bat
diff --git
a/_webi/webi.bat
b/_webi/webi.bat
index ed56295c89fd2905bcc098b78fad6f19f2554539..6023b9226a5a8e467df914bda53b0936ee3d9119 100644
(file)
--- a/
_webi/webi.bat
+++ b/
_webi/webi.bat
@@
-22,7
+22,7
@@
pushd "%userprofile%" || goto :error
.\.local\bin\pathman add ".local\bin" || goto :error
echo downloading and installing %1
.\.local\bin\pathman add ".local\bin" || goto :error
echo downloading and installing %1
- powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/%1/install.
bat
-OutFile %1-webinstall.bat || goto :error
+ powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/%1/install.
ps1
-OutFile %1-webinstall.bat || goto :error
rem TODO only add if it's not in there already
PATH .local\bin;%PATH%
rem TODO only add if it's not in there already
PATH .local\bin;%PATH%