godot/platform/javascript
Fabio Alessandrelli d942d553ef [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:41 +01:00
..
api Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export [HTML5] Export process writes sizes in template. 2021-03-05 17:32:17 +01:00
js [HTML5] Catch audio worklet errors on disconnect. 2021-03-08 17:06:41 +01:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 15:35:38 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:01:42 -06:00
audio_driver_javascript.cpp Modernize Thread 2021-02-18 11:58:08 +01:00
audio_driver_javascript.h Modernize Thread 2021-02-18 11:58:08 +01:00
detect.py [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:41 +01:00
dom_keys.inc Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
emscripten_helpers.py [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:41 +01:00
godot_audio.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_js.h [HTML5] Better fullscreen, canvas resizing. 2021-02-19 05:13:44 +01:00
http_client_javascript.cpp [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:43 +01:00
http_client.h.inc [HTML5] Replace XMLHttpRequest with Fetch. 2021-03-06 11:44:43 +01:00
javascript_eval.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
javascript_main.cpp [HTML5] Make home path persistent in editor. 2021-02-03 17:18:28 +01:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp [HTML5] Better fullscreen, canvas resizing. 2021-02-19 05:13:44 +01:00
os_javascript.h [HTML5] Better fullscreen, canvas resizing. 2021-02-19 05:13:44 +01:00
package-lock.json [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
package.json [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:41 +01:00