Compare commits

...

2 Commits

Author SHA1 Message Date
XFlak
f0a744cd1f ModMii Classic auto-update workarounds for 8.0.1 & 8.0.2 2025-04-15 13:28:08 +03:00
XFlak
cc340b2dd6 8.0.3 again 2025-04-15 11:50:30 +03:00
2 changed files with 11 additions and 3 deletions

View File

@ -12728,13 +12728,15 @@ if exist support\d2x-beta\d2x-beta.bat call support\d2x-beta\d2x-beta.bat
if "%newversion%"=="" goto:updatefail
if /i "%MENU1%" EQU "O" goto:skip
if %currentversion% LSS %newversion% goto:openchangelog
if /i "%debug%" EQU "on" goto:debugskip
if exist Updatetemp.bat attrib -h Updatetemp.bat
if exist Updatetemp.bat del Updatetemp.bat>nul
:debugskip
if /i "%MENU1%" EQU "O" goto:skip
if %currentversion% GTR %newversion% (echo This version is newer than the latest public release) & (echo.) & (echo You got some crazy new beta shit!) & (@ping 127.0.0.1 -n 4 -w 1000> nul) & (goto:menu)
if %currentversion% EQU %newversion% (echo This version is up to date) & (@ping 127.0.0.1 -n 4 -w 1000> nul) & (goto:menu)
@ -12747,7 +12749,7 @@ if %currentversion% EQU %newversion% (echo This ver
::if you made it this far, there's an update!
::openchangelog
:openchangelog

View File

@ -75,6 +75,11 @@ echo.
call Support/subscripts/DB.bat
::workaround for 8.0.1 & 8.0.2 autoupdate bug
if /i "%updatermode%" NEQ "skin" if %currentversion% EQU 8.0.1 set debug=on
if /i "%updatermode%" NEQ "skin" if %currentversion% EQU 8.0.2 set debug=on
if %currentversion% NEQ 8.0.0 goto:skip
if /i "%DBversion%" EQU "25.03.24" goto:skip
echo.
@ -236,7 +241,8 @@ set newversion=7.0.3
if not exist temp\currentversion.txt goto:ReturnToCaller
::workaround for 8.0.1 & 8.0.2 autoupdate bug (reversal)
set debug=
setlocal
chcp 437>nul