Force using IPv4 in update check

This commit is contained in:
WindowsAddict 2023-10-18 15:43:06 +05:30
parent 9936a1d3a1
commit 569681da0e
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ exit /b
set -= set -=
set old= set old=
for /f "delims=[] tokens=2" %%# in ('ping -n 1 updatecheck.mass%-%grave.dev') do ( for /f "delims=[] tokens=2" %%# in ('ping -4 -n 1 updatecheck.mass%-%grave.dev') do (
if not [%%#]==[] echo "%%#" | find "127.69.%masver%" %nul1% || set old=1 if not [%%#]==[] echo "%%#" | find "127.69.%masver%" %nul1% || set old=1
) )