mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #70626 from Faless/web/4.x_expose_force_fs_sync
[Web] Expose API to force file system sync.
This commit is contained in:
commit
6b2abf4605
6 changed files with 23 additions and 0 deletions
|
@ -361,6 +361,11 @@ void JavaScriptBridge::download_buffer(Vector<uint8_t> p_arr, const String &p_na
|
|||
bool JavaScriptBridge::pwa_needs_update() const {
|
||||
return OS_Web::get_singleton()->pwa_needs_update();
|
||||
}
|
||||
|
||||
Error JavaScriptBridge::pwa_update() {
|
||||
return OS_Web::get_singleton()->pwa_update();
|
||||
}
|
||||
|
||||
void JavaScriptBridge::force_fs_sync() {
|
||||
OS_Web::get_singleton()->force_fs_sync();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue