Remove debug and change version to release
This commit is contained in:
parent
f9e80edb2a
commit
9b5d4caf05
9 changed files with 1 additions and 43 deletions
|
@ -241,13 +241,10 @@ require.libs.fs = {
|
|||
for (const listingFile of listing) {
|
||||
if (listingFile.toLowerCase() == basename.toLowerCase()) {
|
||||
const alt = require.libs.path.join(dirname, listingFile);
|
||||
console.log(`tried to access ${path}: not found, found alternative: ${alt}`) //Remove in release
|
||||
return alt;
|
||||
}
|
||||
}
|
||||
|
||||
console.log(`tried to access ${path}: not found, alternative name was not found too!`) //Remove in release
|
||||
|
||||
return null;
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue