@echo off REM Comprobar parĂ¡metro IF "%1"=="" ( echo Uso: build_windows.bat ^ exit /b 1 ) set PARAM=%1 echo Compilando windows... make windows || exit /b 1 echo Compilando windows_debug... make windows_debug || exit /b 1 echo Creando paquetes... REM Crear ZIP release con mini.exe + DLLs tar -a -c -f mini_%PARAM%_windows_release.zip mini.exe bin\*.dll || exit /b 1 REM Crear ZIP debug solo con mini_debug.exe tar -a -c -f mini_%PARAM%_windows_debug.zip mini_debug.exe || exit /b 1 echo Paquetes generados: echo mini_%PARAM%_windows_release.zip echo mini_%PARAM%_windows_debug.zip