Mult Port + TCP Calibration (SSH DEAD)

This commit is contained in:
2026-08-17 17:08:57 -03:00
parent 7ea221a99c
commit b997294607
58 changed files with 6033 additions and 497 deletions
+101
View File
@@ -0,0 +1,101 @@
@echo off
setlocal EnableExtensions
rem DragonTCP complete Windows build wrapper.
rem Builds:
rem 1. Go core / Android native libraries + Linux deployable binaries
rem 2. Android APK
rem
rem Usage:
rem build_all.cmd
rem build_all.cmd --no-pause
cd /d "%~dp0"
set "ROOT=%CD%"
set "NO_PAUSE=0"
if /I "%~1"=="--no-pause" set "NO_PAUSE=1"
cls
echo ========================================
echo DragonTCP - BUILD ALL
echo ========================================
echo.
echo Project: %ROOT%
echo.
where powershell.exe >nul 2>&1
if errorlevel 1 (
echo [ERROR] powershell.exe was not found.
echo Windows PowerShell 5.1 or newer is required.
goto :failed
)
where go.exe >nul 2>&1
if errorlevel 1 (
echo [ERROR] go.exe was not found in PATH.
echo Install Go and reopen this command window.
goto :failed
)
echo [1/2] Building DragonTCP core...
echo Android native libraries + Linux client/server binaries
echo.
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%ROOT%\build_core.ps1"
if errorlevel 1 (
echo.
echo [ERROR] Core build failed.
goto :failed
)
echo.
echo [2/2] Building and signing Android APK...
echo.
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%ROOT%\android\build_apk.ps1"
if errorlevel 1 (
echo.
echo [ERROR] APK build failed.
goto :failed
)
echo.
echo ========================================
echo BUILD COMPLETE
echo ========================================
echo.
if exist "%ROOT%\android\build\DragonTCP-Hybrid-arm64.apk" (
echo APK:
echo %ROOT%\android\build\DragonTCP-Hybrid-arm64.apk
echo.
)
if exist "%ROOT%\bin\dragontcp-hybrid-server-linux-amd64" (
echo Linux server AMD64:
echo %ROOT%\bin\dragontcp-hybrid-server-linux-amd64
)
if exist "%ROOT%\bin\dragontcp-hybrid-server-linux-arm64" (
echo Linux server ARM64:
echo %ROOT%\bin\dragontcp-hybrid-server-linux-arm64
)
if exist "%ROOT%\bin\dragontcp-hybrid-client-linux-amd64" (
echo Linux client AMD64:
echo %ROOT%\bin\dragontcp-hybrid-client-linux-amd64
)
echo.
if "%NO_PAUSE%"=="0" pause
exit /b 0
:failed
echo.
echo ========================================
echo BUILD FAILED
echo ========================================
echo.
echo Check the error above. Common requirements:
echo - Go installed and available in PATH
echo - Android SDK installed
echo - Android build-tools and platform installed
echo - JDK 17 or 21 installed / JAVA_HOME configured
echo - Internet access on first Kotlin/Go dependency download
echo.
if "%NO_PAUSE%"=="0" pause
exit /b 1