From 1971946c3be75d65f8e8226bc673448947aedea7 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 29 Apr 2020 18:17:52 +0000 Subject: [PATCH] add packages prefix --- webi/webinstall.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webi/webinstall.bat b/webi/webinstall.bat index cac5c6d..588b0e5 100644 --- a/webi/webinstall.bat +++ b/webi/webinstall.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/pathman/pathman.bat -OutFile pathman-setup.bat || goto :error + powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/pathman/pathman.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 popd || goto :error echo downloading and installing %1 - powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/%1/%1.bat -OutFile %1-webinstall.bat || goto :error + powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://webinstall.dev/packages/%1/%1.bat -OutFile %1-webinstall.bat || goto :error rem TODO only add if it's not in there already PATH .local\bin;%PATH% -- 2.25.1