@echo off REM Comprobar parĂ¡metro IF "%1"=="" ( echo Uso: build_windows.bat ^ exit /b 1 ) set PARAM=%1 echo Compilando windows... g++ main.cpp -O3 -o lagueirto.exe || exit /b 1 echo Creando paquetes... REM Crear ZIP release con mini.exe + DLLs tar -a -c -f lagueirto_%PARAM%_win32-x64.zip lagueirto.exe || exit /b 1 echo Paquetes generados: echo lagueirto_%PARAM%_win32-x64.zip