diff --git a/Makefile b/Makefile index bc0af63..14d9d0d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ source = *.cpp ./lua/*.c windows: @echo off - g++ $(source) icon.res -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL3 -lopengl32 -mwindows -o "$(executable).exe" + g++ $(source) icon.res -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lmingw32 -lSDL3 -lopengl32 -static-libstdc++ -static-libgcc -lpthread -mwindows -o "$(executable).exe" strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe" windows_debug: diff --git a/do_release.bat b/do_release.bat index c5ed800..63f78f2 100644 --- a/do_release.bat +++ b/do_release.bat @@ -17,11 +17,11 @@ 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 +tar -a -c -f mini_%PARAM%_win32-x64_release.zip mini.exe *.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 bin\*.dll || exit /b 1 +tar -a -c -f mini_%PARAM%_win32-x64_debug.zip mini_debug.exe *.dll || exit /b 1 echo Paquetes generados: -echo mini_%PARAM%_windows_release.zip -echo mini_%PARAM%_windows_debug.zip +echo mini_%PARAM%_win32-x64_release.zip +echo mini_%PARAM%_win32-x64_debug.zip diff --git a/publish_gitea.sh b/publish_gitea.sh index 3c58e3a..c51703c 100755 --- a/publish_gitea.sh +++ b/publish_gitea.sh @@ -44,8 +44,8 @@ echo "=== Subiendo artefactos ===" for f in mini_v${VERSION}_linux_release.tar.gz \ mini_v${VERSION}_linux_debug.tar.gz \ - mini_v${VERSION}_windows_release.zip \ - mini_v${VERSION}_windows_debug.zip + mini_v${VERSION}_win32-x64_release.zip \ + mini_v${VERSION}_win32-x64_debug.zip do echo "Subiendo $f..." curl -s -X POST \