Deploying to built from @ 9b46b5ce91 🚀

This commit is contained in:
pulsejet 2020-10-20 14:22:12 +00:00
parent 2a4cf5b564
commit 2bf6ef5080
4 changed files with 1661 additions and 1656 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -135,18 +135,18 @@ var createDummies = function() {
FS.mkdir('/game'); FS.mkdir('/game');
// Create dummy objects // Create dummy objects
Object.values(mapping).forEach((file) => { for (var i = 0; i < mappingArray.length; i++) {
// Get filename // Get filename
const file = mappingArray[i][1];
const filename = '/game/' + file.split("?")[0]; const filename = '/game/' + file.split("?")[0];
// Check if folder // Check if folder
if (file.endsWith('h=')) { if (file.endsWith('h=')) {
return FS.mkdir(filename); FS.mkdir(filename);
} else {
FS.writeFile(filename, '1');
} }
}
// Create dummy file
FS.writeFile(filename, '1');
});
}; };
window.setBusy = function() { window.setBusy = function() {

BIN
mkxp.wasm

Binary file not shown.