New Update Method

This commit is contained in:
Matthew Clark 2022-07-15 00:30:18 -05:00 committed by GitHub
parent 15fc3dec66
commit 83e13ea081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ 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.
curl -O -s http://cdn.medicatusb.com/files/install/wget.exe
curl -O -s https://eternallybored.org/misc/wget/1.21.3/64/wget.exe
move .\wget.exe .\bin\wget.exe
goto checkwget
:curver
@ -108,7 +108,6 @@ if "%localver%" == "%remver%" (goto winvercheck0) else (goto updateprogram)
:updateprogram
cls
echo.A new version of the program has been released. The program will now restart.
wget "http://url.medicatusb.com/installerupdate" -O ./MEDICAT_NEW.bat -q
wget "http://cdn.medicatusb.com/files/install/update.bat" -O ./update.bat -q
start cmd /k update.bat
exit