From 771adae569c9175c3b09810229f968b32856ac96 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 22 Jul 2023 21:48:59 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E4=BD=BF=E7=94=A8=20cloudflare=20?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E5=9B=BD=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reinstall.bat b/reinstall.bat index 4b212b5..7db2c93 100644 --- a/reinstall.bat +++ b/reinstall.bat @@ -22,8 +22,8 @@ set tags=%tmp%\cygwin-installed-!pkgs! if not exist !tags! ( :: 检查是否国内 :: 在括号里面,:: 下一行不能是空行!!!!! - call :download http://geoip.fedoraproject.org/city %tmp%\geoip "Check Location" - findstr CHN %tmp%\geoip >nul + call :download http://www.cloudflare.com/cdn-cgi/trace %tmp%\geoip "Check Location" + findstr "loc=CN" %tmp%\geoip >nul if !errorlevel! == 0 ( set host=http://mirror.nju.edu.cn ) else (