mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 00:43:46 +00:00
[Web] Expose API to force file system sync.
This commit is contained in:
parent
111de09c03
commit
d0ba1517a7
6 changed files with 23 additions and 0 deletions
|
@ -351,6 +351,11 @@ void JavaScript::download_buffer(Vector<uint8_t> p_arr, const String &p_name, co
|
|||
bool JavaScript::pwa_needs_update() const {
|
||||
return OS_JavaScript::get_singleton()->pwa_needs_update();
|
||||
}
|
||||
|
||||
void JavaScript::force_fs_sync() {
|
||||
OS_JavaScript::get_singleton()->force_fs_sync();
|
||||
}
|
||||
|
||||
Error JavaScript::pwa_update() {
|
||||
return OS_JavaScript::get_singleton()->pwa_update();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue