mirror of
https://github.com/mon5termatt/medicat_installer
synced 2024-11-17 09:25:30 +00:00
New Update Method
This commit is contained in:
parent
15fc3dec66
commit
83e13ea081
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user