You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Web] Expose API to force file system sync.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user