summaryrefslogtreecommitdiff
path: root/platform/javascript/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-05 21:02:31 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-09 17:54:50 +0100
commit6bc07cf777a1c7a0e9aab1b3c0e86bec1ced176e (patch)
tree44ca1dced62d979681b65febff9ce347d33b55e1 /platform/javascript/SCsub
parente31c6d484e2a3c5c180d23506d017b176c6aafe7 (diff)
[HTML5] Add logo and favicon to editor html.
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r--platform/javascript/SCsub6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub
index 59f3dce3ad..7a8005fe30 100644
--- a/platform/javascript/SCsub
+++ b/platform/javascript/SCsub
@@ -99,6 +99,12 @@ elif env["threads_enabled"]:
in_files.append(build[2]) # Worker
out_files.append(zip_dir.File(binary_name + ".worker.js"))
+if env["tools"]:
+ in_files.append("#misc/dist/html/logo.svg")
+ out_files.append(zip_dir.File("logo.svg"))
+ in_files.append("#icon.png")
+ out_files.append(zip_dir.File("favicon.png"))
+
zip_files = env.InstallAs(out_files, in_files)
env.Zip(
"#bin/godot",