Add Linux server export templates

This commit is contained in:
Rémi Verschelde
2025-11-23 00:17:55 +01:00
parent 208ca56437
commit 026d4b2e20
2 changed files with 8 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ cp -rvp bin/godot.x11.* /root/out/
export PATH="${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH}"
${SCONS} platform=server ${OPTIONS} bits=64 tools=yes target=release_debug
${SCONS} platform=server ${OPTIONS} bits=64 tools=no target=release
export PATH="${GODOT_SDK_LINUX_X86_32}/bin:${BASE_PATH}"
${SCONS} platform=server ${OPTIONS} bits=32 tools=no target=release
${STRIP} bin/godot_server.server.*
cp -rvp bin/godot_server.server.* /root/out/

View File

@@ -236,6 +236,10 @@ if true; then
zip -q -9 "${reldir}/${binname}.zip" ${binname}
rm ${binname}
# Templates
cp out/linux/godot_server.server.opt.64 ${templatesdir}/linux_server_64
cp out/linux/godot_server.server.opt.32 ${templatesdir}/linux_server_32
## Templates TPZ (Classical) ##
echo "${templates_version}" > ${templatesdir}/version.txt