Fixed small windows bugs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -144,7 +144,7 @@ echo Ready to start coding? Run:
|
||||
echo.
|
||||
echo cd %PROJECT_NAME% ^&^& gradlew test --continuous
|
||||
echo.
|
||||
echo Happy coding! 🤖
|
||||
echo Happy coding!
|
||||
echo.
|
||||
|
||||
endlocal
|
||||
|
||||
Reference in New Issue
Block a user