X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=_webi%2Fwebi.bat;h=6023b9226a5a8e467df914bda53b0936ee3d9119;hb=bc91c9838b9d0caded0245cf954448de39d55202;hp=065ba29e39036acd0cdd2c04697ea0d966c2c788;hpb=5e0debf4c54c1e55476c1bc533c26db2b54d2f77;p=webi-installers%2F.git diff --git a/_webi/webi.bat b/_webi/webi.bat index 065ba29..6023b92 100644 --- a/_webi/webi.bat +++ b/_webi/webi.bat @@ -13,7 +13,7 @@ pushd "%userprofile%" || goto :error pushd .local\bin || goto :error if NOT EXIST pathman.exe ( echo updating PATH management - powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/pathman/pathman.bat -OutFile pathman-setup.bat || goto :error + powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/pathman/install.bat -OutFile pathman-setup.bat || goto :error call .\pathman-setup.bat || goto :error del pathman-setup.bat || goto :error rem TODO there's rumor of a windows tool called 'pathman' that does the same thing? @@ -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/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%