Remove debug and change version to release

This commit is contained in:
OleSTEEP 2024-03-09 01:16:17 +03:00
parent f9e80edb2a
commit 9b5d4caf05
9 changed files with 1 additions and 43 deletions

View file

@ -8,17 +8,14 @@ window.PERSISTENT_IMPLEMENTATIONS = {
function localStorageImplementation() {
return {
readSaveFileUTF8(path) {
console.log(`Failed to get externalStorage. Using localStorage to read save at ${path}`);
return localStorage.getItem(path);
},
saveFileExists(path) {
console.log(`Using localStorage while checking save file ${path} existence`);
return localStorage.getItem(path) != null;
},
writeSaveFileUTF8(path, data) {
console.log(`Failed to get externalStorage. Writing ${path} save file to the localStorage`);
localStorage.setItem(path, data);
}
};