mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
core: 修复纯 ipv6 下无法检测地区
This commit is contained in:
@ -37,7 +37,7 @@ if not exist %tmp% (
|
||||
rem 检查是否国内
|
||||
if not exist geoip (
|
||||
rem www.cloudflare.com/dash.cloudflare.com 国内访问的是美国服务器,而且部分地区被墙
|
||||
call :download http://www.visa.cn/cdn-cgi/trace %~dp0geoip || goto :download_failed
|
||||
call :download http://www.qualcomm.cn/cdn-cgi/trace %~dp0geoip || goto :download_failed
|
||||
)
|
||||
findstr /c:"loc=CN" geoip >nul
|
||||
if not errorlevel 1 (
|
||||
|
||||
Reference in New Issue
Block a user