mirror of
https://github.com/modmii/modmii.github.io.git
synced 2025-04-21 03:51:20 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f0a744cd1f | ||
![]() |
cc340b2dd6 |
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user