summaryrefslogtreecommitdiffstats
path: root/platform/web/SCsub
diff options
context:
space:
mode:
authorFelix Yuan <fyuan87@gmail.com>2024-11-10 21:11:52 -0800
committerFelix Yuan <jihadfeeves@gmail.com>2024-11-11 09:47:43 -0800
commit1768a1b991093857d424d720945020129c01a9c3 (patch)
treed9c272426cdc6629232ac33fdf6fd5eba6c26074 /platform/web/SCsub
parent0f5f3bc9546b46b2029fc8896dc859697f1eab97 (diff)
downloadredot-engine-1768a1b991093857d424d720945020129c01a9c3.tar.gz
Remove deprecated worker.js file
Diffstat (limited to 'platform/web/SCsub')
-rw-r--r--platform/web/SCsub7
1 files changed, 3 insertions, 4 deletions
diff --git a/platform/web/SCsub b/platform/web/SCsub
index b30bf20f26..07088ac985 100644
--- a/platform/web/SCsub
+++ b/platform/web/SCsub
@@ -59,7 +59,7 @@ for ext in sys_env["JS_EXTERNS"]:
sys_env["ENV"]["EMCC_CLOSURE_ARGS"] += " --externs " + ext.abspath
build = []
-build_targets = ["#bin/godot${PROGSUFFIX}.js", "#bin/godot${PROGSUFFIX}.wasm", "#bin/godot${PROGSUFFIX}.worker.js"]
+build_targets = ["#bin/godot${PROGSUFFIX}.js", "#bin/godot${PROGSUFFIX}.wasm"]
if env["dlink_enabled"]:
# Reset libraries. The main runtime will only link emscripten libraries, not godot ones.
sys_env["LIBS"] = []
@@ -108,6 +108,5 @@ js_wrapped = env.Textfile("#bin/godot", [env.File(f) for f in wrap_list], TEXTFI
# 0 - unwrapped js file (use wrapped one instead)
# 1 - wasm file
-# 2 - worker file
-# 3 - wasm side (when dlink is enabled).
-env.CreateTemplateZip(js_wrapped, build[1], build[2], build[3] if len(build) > 3 else None)
+# 2 - wasm side (when dlink is enabled).
+env.CreateTemplateZip(js_wrapped, build[1], build[2] if len(build) > 2 else None)