update PATH so that webi can work
[webi-installers/.git] / webi / webinstall.bat
index 50d18bf48c3f5530fbd4390d5c47ab7125ea89c1..065ba29e39036acd0cdd2c04697ea0d966c2c788 100644 (file)
@@ -22,7 +22,7 @@ pushd "%userprofile%" || goto :error
   .\.local\bin\pathman add ".local\bin" || goto :error
 
   echo downloading and installing %1
-  powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/%1/%1.bat -OutFile %1-webinstall.bat || goto :error
+  powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/%1/install.bat -OutFile %1-webinstall.bat || goto :error
 
   rem TODO only add if it's not in there already
   PATH .local\bin;%PATH%