External Android saves (contains SAYGEX)

This commit is contained in:
OleSTEEP 2024-01-06 06:11:27 +03:00
parent 712bda02f4
commit 2d95a8cf81
5 changed files with 73 additions and 47 deletions

View file

@ -348,6 +348,9 @@ require.libs.fs = {
},
readFile: function (path, callback) {
if (path.startsWith(".") && !path.startsWith("./")) {
path = "./" + path.substr(1);
}
let xhr = new XMLHttpRequest();
xhr.responseType = "arraybuffer";
xhr.open("GET", path, true);