From d362eef8bfd41043e2f75286fb81a1a98cd8a82d Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 25 Mar 2026 10:14:22 +0100 Subject: [PATCH] =?UTF-8?q?-=20[NEW]=20Ajustada=20la=20compilaci=C3=B3=20e?= =?UTF-8?q?n=20Windows=20-=20[FIX]=20Ficades=20les=20dll=20en=20l'arrel=20?= =?UTF-8?q?del=20zip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- do_release.bat | 8 ++++---- publish_gitea.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) 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 \