Merge pull request #91128 from patwork/splash-image-in-web-export

Splash image support and new progress bar for HTML5 Web Export
This commit is contained in:
Rémi Verschelde 2024-04-30 17:03:21 +02:00
commit b1da4b2a84
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 68 additions and 145 deletions

View file

@ -170,6 +170,7 @@ void EditorExportPlatformWeb::_fix_html(Vector<uint8_t> &p_html, const Ref<Edito
replaces["$GODOT_PROJECT_NAME"] = GLOBAL_GET("application/config/name");
replaces["$GODOT_HEAD_INCLUDE"] = head_include + custom_head_include;
replaces["$GODOT_CONFIG"] = str_config;
replaces["$GODOT_SPLASH"] = p_name + ".png";
if (p_preset->get("variant/thread_support")) {
replaces["$GODOT_THREADS_ENABLED"] = "true";