3 Commits

Author SHA1 Message Date
Eric Ratliff
5239c85eeb Merge branch 'master' of https://nxgit.dev/nexus-workshops/weevil 2026-01-25 18:53:30 -06:00
Eric Ratliff
2419334f72 I may have fixed a deployment bug 2026-01-25 18:53:16 -06:00
Eric Ratliff
b0b2482774 feat: Add Windows support and stabilize SDK installation (v1.0.0-rc1)
Complete Windows compatibility overhaul with robust cross-platform SDK management.
This release candidate establishes feature freeze for the 1.0.0 release.

Key improvements:
- Fixed Android SDK installation on Windows
  * Use cmd.exe wrapper for sdkmanager.bat with piped stdin
  * Properly reorganize cmdline-tools directory structure
  * Write license acceptances synchronously to avoid hangs

- Fixed FTC SDK configuration
  * Auto-generate local.properties with Android SDK path
  * Escape backslashes in Kotlin build.gradle.kts strings
  * Support both new installs and upgrades via ensure_local_properties()

- Enhanced Windows console output
  * Enable ANSI color support via enable_ansi_support crate
  * Maintain color compatibility across Windows versions

- Improved error handling and debugging
  * Added comprehensive logging throughout SDK installation
  * Better context messages for troubleshooting failures

Cross-platform testing verified on:
- Windows 11 with Eclipse Adoptium JDK 21
- Linux (existing support maintained)

Breaking changes: None
This RC introduces feature freeze - subsequent 1.0.x releases will be
bug fixes only. New features deferred to 1.1.0.

Closes Windows compatibility milestone.
2026-01-25 18:35:24 -06:00
2 changed files with 11 additions and 5 deletions

View File

@@ -511,11 +511,11 @@ Built with frustration at unnecessarily complex robotics frameworks, and hope th
## Project Status
**Current Version:** 1.0.0-beta2
**Current Version:** 1.0.0-rc1
**What Works:**
- ✅ Project generation
- ✅ Cross-platform build/deploy
- ✅ Cross-platform build/deploy (Linux, macOS, Windows)
- ✅ SDK management
- ✅ Configuration management
- ✅ Project upgrades
@@ -530,6 +530,12 @@ Built with frustration at unnecessarily complex robotics frameworks, and hope th
---
## Support & Contact
**Questions? Issues? Suggestions?**
Open an issue on NXGit or reach out to the FTC community. Let's make robot programming accessible for everyone! 🚀
- 📧 Email: [eric@nxws.dev](mailto:eric@nxws.dev)
- 🐛 Issues: Open an issue on the repository
- 💬 Community: Reach out via the FTC community
Building better tools so you can build better robots. 🤖

View File

@@ -352,8 +352,8 @@ call gradlew.bat buildApk
echo.
echo Deploying to Control Hub...
REM Find APK
for /f "delims=" %%i in ('dir /s /b "%SDK_DIR%\*app-debug.apk" 2^>nul') do set APK=%%i
REM Find APK - look for TeamCode-debug.apk
for /f "delims=" %%i in ('dir /s /b "%SDK_DIR%\TeamCode-debug.apk" 2^>nul') do set APK=%%i
if not defined APK (
echo Error: APK not found