From 535949c6c009b40ba56f617584e3b3f9ac38dde2 Mon Sep 17 00:00:00 2001 From: Matthew Clark <43628254+mon5termatt@users.noreply.github.com> Date: Thu, 28 Jul 2022 03:05:00 -0500 Subject: [PATCH] Update Medicat_Installer.bat --- Medicat_Installer.bat | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Medicat_Installer.bat b/Medicat_Installer.bat index bdf5fb5..095f107 100644 --- a/Medicat_Installer.bat +++ b/Medicat_Installer.bat @@ -82,12 +82,17 @@ echo. echo. if exist "bin\wget.exe" (goto curver) else (goto curlwget) :curlwget -echo.attempting to download wget using curl. -echo.This requires windows 10 version 1703 or higher. +if defined ProgramFiles(x86) (goto wget64) else (goto wget32) +:wget32 +curl -O -s https://eternallybored.org/misc/wget/1.21.3/32/wget.exe +move .\wget.exe .\bin\wget.exe +goto checkwget +:wget64 curl -O -s https://eternallybored.org/misc/wget/1.21.3/64/wget.exe move .\wget.exe .\bin\wget.exe goto checkwget :curver +echo.Found WGET. Continuing... REM == CHECK FOR UPDATE FIRST. DO NOT PASS GO. DO NOT COLLECT $200 wget "http://cdn.medicatusb.com/files/install/curver.ini" -O ./curver.ini -q set /p remver= < curver.ini