1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

[HTML5] Remove file flags from writeFile in setup.

Flags where deprecated and partly in removed in emscripten 2.0.9.
This commit is contained in:
Fabio Alessandrelli
2020-11-30 11:28:25 +01:00
parent e2a0c44d06
commit 742729ccfe

View File

@@ -200,7 +200,7 @@ const GodotFS = {
} }
FS.mkdirTree(dir); FS.mkdirTree(dir);
} }
FS.writeFile(path, new Uint8Array(buffer), { 'flags': 'wx+' }); FS.writeFile(path, new Uint8Array(buffer));
}, },
}, },
}; };