From 9ea50d85a5b37dbd3dfad2185388355134c01049 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 17 Oct 2024 11:30:42 +0200 Subject: [PATCH] [godot] Try to fix web build on GitHub. --- spine-godot/build/build-templates-v4.sh | 8 ++++---- spine-godot/build/setup-extension.sh | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/spine-godot/build/build-templates-v4.sh b/spine-godot/build/build-templates-v4.sh index 449a572a2..252a9fbb7 100755 --- a/spine-godot/build/build-templates-v4.sh +++ b/spine-godot/build/build-templates-v4.sh @@ -134,16 +134,16 @@ elif [ "$platform" = "web" ]; then mv bin/godot.web.template_debug.wasm32.zip bin/web_debug.zip scons platform=web tools=no threads=no target=template_release custom_modules="../spine_godot" --jobs=$cpus scons platform=web tools=no threads=no target=template_debug custom_modules="../spine_godot" --jobs=$cpus - mv bin/godot.web.template_release.wasm32.zip bin/web_nothreads_release.zip - mv bin/godot.web.template_debug.wasm32.zip bin/web_nothreads_debug.zip + mv bin/godot.web.template_release.wasm32.nothreads.zip bin/web_nothreads_release.zip + mv bin/godot.web.template_debug.wasm32.nothreads.zip bin/web_nothreads_debug.zip scons platform=web tools=no dlink_enabled=yes target=template_release custom_modules="../spine_godot" --jobs=$cpus scons platform=web tools=no dlink_enabled=yes target=template_debug custom_modules="../spine_godot" --jobs=$cpus mv bin/godot.web.template_release.wasm32.dlink.zip bin/web_dlink_release.zip mv bin/godot.web.template_debug.wasm32.dlink.zip bin/web_dlink_debug.zip scons platform=web tools=no threads=no dlink_enabled=yes target=template_release custom_modules="../spine_godot" --jobs=$cpus scons platform=web tools=no threads=no dlink_enabled=yes target=template_debug custom_modules="../spine_godot" --jobs=$cpus - mv bin/godot.web.template_release.wasm32.dlink.zip bin/web_dlink_nothreads_release.zip - mv bin/godot.web.template_debug.wasm32.dlink.zip bin/web_dlink_nothreads_debug.zip + mv bin/godot.web.template_release.wasm32.dlink..nothreads.zip bin/web_dlink_nothreads_release.zip + mv bin/godot.web.template_debug.wasm32.dlink.nothreads.zip bin/web_dlink_nothreads_debug.zip elif [ "$platform" = "android" ]; then # --- ANROID --- # generates android_release.apk, android_debug.apk, android_source.zip diff --git a/spine-godot/build/setup-extension.sh b/spine-godot/build/setup-extension.sh index 6110c2eab..0a1c89293 100755 --- a/spine-godot/build/setup-extension.sh +++ b/spine-godot/build/setup-extension.sh @@ -65,5 +65,7 @@ git checkout $godot_branch scons target=editor dev_build=true optimize=debug --jobs=$cpus popd +cp -r ../spine-cpp/spine-cpp spine_godot + popd popd > /dev/null \ No newline at end of file