From 2993f1c2cb7cd37150aaf1d8bb2830aa5bdd360e Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 7 Nov 2023 22:35:46 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E8=A7=A3=E5=86=B3=20Windows=20?= =?UTF-8?q?=E4=B8=8B=E6=9C=89=E6=97=B6=E4=B8=B4=E6=97=B6=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reinstall.bat b/reinstall.bat index 4a5ccd7..8e1e853 100644 --- a/reinstall.bat +++ b/reinstall.bat @@ -16,6 +16,12 @@ if not !errorlevel! == 0 ( exit /b ) +:: 有时 %tmp% 带会话 id,且文件夹不存在 +:: https://learn.microsoft.com/troubleshoot/windows-server/shell-experience/temp-folder-with-logon-session-id-deleted +if not exist %tmp% ( + md %tmp% +) + :: 检查是否国内 if not exist %tmp%\geoip ( call :download https://www.cloudflare.com/cdn-cgi/trace %tmp%\geoip