diff options
author | Relintai <relintai@gmail.com> | 2019-10-01 14:55:54 +0200 |
---|---|---|
committer | Relintai <relintai@gmail.com> | 2019-10-01 15:41:19 +0200 |
commit | 6f1d6cfc7815d753bb073e55191decb0520965f9 (patch) | |
tree | 782de545a6cfefd4967d31cc04bc8f342bcaad76 /misc | |
parent | 79298face0d7dc53b3c014ac910212a5993c1d1c (diff) | |
download | redot-engine-6f1d6cfc7815d753bb073e55191decb0520965f9.tar.gz |
Fixed running the export templates with newer emscripten versions.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dist/html/fixed-size.html | 3 | ||||
-rw-r--r-- | misc/dist/html/full-size.html | 3 |
2 files changed, 4 insertions, 2 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); diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html index 12b9af21e5..9269227d02 100644 --- a/misc/dist/html/full-size.html +++ b/misc/dist/html/full-size.html @@ -142,6 +142,7 @@ $GODOT_HEAD_INCLUDE (function() { + const EXECUTABLE_NAME = '$GODOT_BASENAME'; const MAIN_PACK = '$GODOT_BASENAME.pck'; const INDETERMINATE_STATUS_STEP_MS = 100; @@ -254,7 +255,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); |