X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=webi%2Fwebinstall.bat;h=065ba29e39036acd0cdd2c04697ea0d966c2c788;hb=969df21e47c4d8312925638739a23eef0c349e1c;hp=588b0e560db42119e854966bb7d5ce9ea440f907;hpb=1971946c3be75d65f8e8226bc673448947aedea7;p=webi-installers%2F.git diff --git a/webi/webinstall.bat b/webi/webinstall.bat index 588b0e5..065ba29 100644 --- a/webi/webinstall.bat +++ b/webi/webinstall.bat @@ -17,12 +17,12 @@ pushd "%userprofile%" || 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? - pathman add "%userprofile%\.local\bin" || goto :error ) popd || 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%