godot/platform/javascript
Fabio Alessandrelli d8bd54fbf2 [HTML5] Add PWA support to the editor page.
This allows to install it as an app, and provide offline support (after
the first run).
Practically, this boils down to adding a JSON file as a manifest, an
offline page to be displayed when the cached files are not avaialble,
and a JS file to cache resources and return them.

The reason for the "first run requirements" is that some browsers, will
emit an "install" by just visiting the page (to see if the JS code is
compatibile), and we do not want to force casual visitors to just
download the 10 MiB+ compressed editor WebAssembly file without pressing
the start button.

Special thanks to Hugo Locurcio (Calinou) for the initial work.
2021-03-08 17:06:24 +01:00
..
api Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
export [HTML5] Export process writes sizes in template. 2021-03-05 20:15:38 +01:00
js [HTML5] Catch audio worklet errors on disconnect. 2021-03-08 17:06:24 +01:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 11:33:59 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:02:37 -06:00
audio_driver_javascript.cpp Reorganize Project Settings 2021-02-18 11:23:34 -03:00
audio_driver_javascript.h Modernize Thread 2021-01-29 12:02:13 +01:00
detect.py [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:24 +01:00
display_server_javascript.cpp [HTML5] Better fullscreen, canvas resizing. 2021-02-19 05:12:32 +01:00
display_server_javascript.h [HTML5] Better fullscreen, canvas resizing. 2021-02-19 05:12:32 +01:00
dom_keys.inc Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
emscripten_helpers.py [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:24 +01:00
godot_audio.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godot_js.h [HTML5] Better fullscreen, canvas resizing. 2021-02-19 05:12:32 +01:00
http_client_javascript.cpp [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:07 +01:00
http_client.h.inc [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:07 +01:00
javascript_eval.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
javascript_main.cpp [HTML5] Make home path persistent in editor. 2021-02-03 18:59:54 +01:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png
os_javascript.cpp [HTML5] Implement get_processor_count. 2021-02-17 13:03:52 +01:00
os_javascript.h [HTML5] Implement get_processor_count. 2021-02-17 13:03:52 +01:00
package-lock.json [HTML5] Add jsdoc2rst tool. 2021-02-26 11:33:59 +01:00
package.json [HTML5] Add jsdoc2rst tool. 2021-02-26 11:33:59 +01:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
run_icon.png
SCsub [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:24 +01:00