summaryrefslogtreecommitdiff
path: root/misc/dist/html/fixed-size.html
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-01 20:15:41 +0200
committerGitHub <noreply@github.com>2019-10-01 20:15:41 +0200
commitbf1c81adf4b1584470318d25fa2ef67e261874cf (patch)
treed6e405da4a9e4e9aeaee0cab0b64f388fec55cfe /misc/dist/html/fixed-size.html
parent052c5733b79b10db4737d4cfee42795c22f52799 (diff)
parent6f1d6cfc7815d753bb073e55191decb0520965f9 (diff)
Merge pull request #32448 from Relintai/fix_run_with_new_emscripten
Fix for running the export templates with newer emscripten versions.
Diffstat (limited to 'misc/dist/html/fixed-size.html')
-rw-r--r--misc/dist/html/fixed-size.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/dist/html/fixed-size.html b/misc/dist/html/fixed-size.html
index 14766e8239..1cc6fd715e 100644
--- a/misc/dist/html/fixed-size.html
+++ b/misc/dist/html/fixed-size.html
@@ -229,6 +229,7 @@ $GODOT_HEAD_INCLUDE
(function() {
+ const EXECUTABLE_NAME = '$GODOT_BASENAME';
const MAIN_PACK = '$GODOT_BASENAME.pck';
const DEBUG_ENABLED = $GODOT_DEBUG_ENABLED;
const INDETERMINATE_STATUS_STEP_MS = 100;
@@ -380,7 +381,7 @@ $GODOT_HEAD_INCLUDE
} else {
setStatusMode('indeterminate');
engine.setCanvas(canvas);
- engine.startGame(MAIN_PACK).then(() => {
+ engine.startGame(EXECUTABLE_NAME, MAIN_PACK).then(() => {
setStatusMode('hidden');
initializing = false;
}, displayFailureNotice);