Fixed small windows bugs

This commit is contained in:
Eric Ratliff
2026-01-21 08:08:21 -06:00
parent 63827dba58
commit e0c5884fff
2 changed files with 3 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ if exist "%FTC_SDK_DIR%" (
if exist ".git" (
REM Check current version
set "CURRENT_TAG="
for /f "delims=" %%i in ('git describe --tags --exact-match 2^>nul') do set "CURRENT_TAG=%%i"
if "!CURRENT_TAG!"=="" set "CURRENT_TAG=none"
@@ -89,7 +90,7 @@ if exist "%FTC_SDK_DIR%" (
)
) else (
echo Cloning FTC SDK %FTC_VERSION%...
echo This will take a minute (SDK is ~200MB)...
echo This will take a minute ^(SDK is about 200MB^)...
git clone --depth 1 --branch "%FTC_VERSION%" https://github.com/FIRST-Tech-Challenge/FtcRobotController.git "%FTC_SDK_DIR%"
if errorlevel 1 (
echo Error: Failed to clone FTC SDK