From 6bc07cf777a1c7a0e9aab1b3c0e86bec1ced176e Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sat, 5 Dec 2020 21:02:31 +0100 Subject: [HTML5] Add logo and favicon to editor html. --- misc/dist/html/editor.html | 2 + misc/dist/html/logo.svg | 219 +++++++++++++++++++++++++++++++++++++++++++++ platform/javascript/SCsub | 6 ++ 3 files changed, 227 insertions(+) create mode 100644 misc/dist/html/logo.svg diff --git a/misc/dist/html/editor.html b/misc/dist/html/editor.html index 2ae281f74c..bf608dfa49 100644 --- a/misc/dist/html/editor.html +++ b/misc/dist/html/editor.html @@ -169,6 +169,8 @@
+ +

diff --git a/misc/dist/html/logo.svg b/misc/dist/html/logo.svg new file mode 100644 index 0000000000..94641b054b --- /dev/null +++ b/misc/dist/html/logo.svg @@ -0,0 +1,219 @@ + + + +image/svg+xml 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", -- cgit v1.2.3