diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-24 18:12:26 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-06-14 14:09:06 +0200 |
commit | 3a2fbd6fae6ea48b01b904f67245db2e6f4f8228 (patch) | |
tree | 158ea0f8682e7863f5eeec959780d73b8a37425e /platform/javascript/emscripten_helpers.py | |
parent | 22a40365c05a0fce917110b87c5d46afdcd1b44a (diff) |
[HTML5] Add GDNative+Threads build.
Diffstat (limited to 'platform/javascript/emscripten_helpers.py')
-rw-r--r-- | platform/javascript/emscripten_helpers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/javascript/emscripten_helpers.py b/platform/javascript/emscripten_helpers.py index 4dad2d5204..3cb1d75e52 100644 --- a/platform/javascript/emscripten_helpers.py +++ b/platform/javascript/emscripten_helpers.py @@ -52,10 +52,10 @@ def create_template_zip(env, js, wasm, extra): ] # GDNative/Threads specific if env["gdnative_enabled"]: - in_files.append(extra) # Runtime + in_files.append(extra.pop()) # Runtime out_files.append(zip_dir.File(binary_name + ".side.wasm")) - elif env["threads_enabled"]: - in_files.append(extra) # Worker + if env["threads_enabled"]: + in_files.append(extra.pop()) # Worker out_files.append(zip_dir.File(binary_name + ".worker.js")) service_worker = "#misc/dist/html/service-worker.js" |