Skip to content

Commit 7ead61f

Browse files
committed
Add web export preset
This preset is just the default settings for the Web target (as of v4.3.stable.flathub [77dcf97d8], at least). The important line is: variant/thread_support=false This selects a build of the Godot web runtime that does not use threads; and hence does not use SharedArrayBuffer; and hence can be used on GitHub Pages where the necessary headers to allow SharedArrayBuffer to be used cannot be set. https://phabricator.endlessm.com/T35699
1 parent af353e1 commit 7ead61f

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

export_presets.cfg

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[preset.0]
2+
3+
name="Web"
4+
platform="Web"
5+
runnable=false
6+
advanced_options=false
7+
dedicated_server=false
8+
custom_features=""
9+
export_filter="all_resources"
10+
include_filter=""
11+
exclude_filter=""
12+
export_path=""
13+
encryption_include_filters=""
14+
encryption_exclude_filters=""
15+
encrypt_pck=false
16+
encrypt_directory=false
17+
script_export_mode=2
18+
19+
[preset.0.options]
20+
21+
custom_template/debug=""
22+
custom_template/release=""
23+
variant/extensions_support=false
24+
variant/thread_support=false
25+
vram_texture_compression/for_desktop=true
26+
vram_texture_compression/for_mobile=false
27+
html/export_icon=true
28+
html/custom_html_shell=""
29+
html/head_include=""
30+
html/canvas_resize_policy=2
31+
html/focus_canvas_on_start=true
32+
html/experimental_virtual_keyboard=false
33+
progressive_web_app/enabled=false
34+
progressive_web_app/ensure_cross_origin_isolation_headers=true
35+
progressive_web_app/offline_page=""
36+
progressive_web_app/display=1
37+
progressive_web_app/orientation=0
38+
progressive_web_app/icon_144x144=""
39+
progressive_web_app/icon_180x180=""
40+
progressive_web_app/icon_512x512=""
41+
progressive_web_app/background_color=Color(0, 0, 0, 1)

0 commit comments

Comments
 (0)