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