diff --git a/bootstrap/win/win_tools.bat b/bootstrap/win/win_tools.bat index 5b17f5c4cf..f17862ae60 100644 --- a/bootstrap/win/win_tools.bat +++ b/bootstrap/win/win_tools.bat @@ -25,6 +25,7 @@ if "%1" == "force" ( :GIT_CHECK :: If the batch file exists, skip the git check. if exist "%WIN_TOOLS_ROOT_DIR%\git.bat" goto :SVN_CHECK +if "%CHROME_HEADLESS%" == "1" goto :SVN_CHECK if "%WIN_TOOLS_FORCE%" == "1" goto :GIT_INSTALL call git --version 2>nul 1>nul if errorlevel 1 goto :GIT_INSTALL