You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #11154 from eska014/html5-startup-revamp
HTML5 start-up overhaul with download progress display
This commit is contained in:
@@ -100,6 +100,7 @@ def configure(env):
|
||||
|
||||
## Link flags
|
||||
|
||||
env.Append(LINKFLAGS=['-s', 'EXTRA_EXPORTED_RUNTIME_METHODS="[\'FS\']"'])
|
||||
env.Append(LINKFLAGS=['-s', 'USE_WEBGL2=1'])
|
||||
|
||||
if (env['wasm'] == 'yes'):
|
||||
@@ -112,6 +113,7 @@ def configure(env):
|
||||
else:
|
||||
env.Append(LINKFLAGS=['-s', 'ASM_JS=1'])
|
||||
env.Append(LINKFLAGS=['--separate-asm'])
|
||||
env.Append(LINKFLAGS=['--memory-init-file', '1'])
|
||||
|
||||
# TODO: Move that to opus module's config
|
||||
if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"):
|
||||
|
||||
Reference in New Issue
Block a user