mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
[HTML5] Add GDNative+Threads build.
This commit is contained in:
parent
22a40365c0
commit
3a2fbd6fae
5 changed files with 30 additions and 23 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue