diff --git a/data/emulator.js b/data/emulator.js index 931af97..8578d5d 100644 --- a/data/emulator.js +++ b/data/emulator.js @@ -15056,7 +15056,7 @@ var EJS = function(_0x574f5e) { 'responseType': 'arraybuffer' })['then'](function(_0x22a1f4) { var _0x17edbf = new Uint8Array(_0x22a1f4['data']); - if (EJS_gameUrl.startsWith('blob:')) {_0x3512e9(_0x139f1c, _0x17edbf);return;}; + if (EJS_gameUrl.startsWith('blob:') || EJS_gameUrl.startsWith('file:') || EJS_gameUrl.startsWith('chrome-extension:') || ((window.location.protocol == 'file:' || window.location.protocol == 'chrome-extension:') && EJS_gameUrl.startsWith('/') && EJS_gameUrl.split(':').length == 1)) {_0x3512e9(_0x139f1c, _0x17edbf);return;}; if (_0x107e8a && _0x4e171c['db']) if (_0x17edbf['length'] > 0x6400000) for (var _0x2c1832 = Math['ceil'](_0x17edbf['length'] / 0x6400000), _0x257c4d = 0x0; _0x257c4d < _0x2c1832; _0x257c4d += 0x1) { diff --git a/data/loader.js b/data/loader.js index e459d70..2d4646b 100644 --- a/data/loader.js +++ b/data/loader.js @@ -2,9 +2,9 @@ fetch('https://raw.githack.com/ethanaobrien/emulatorjs/main/data/version.json'). if (response.ok) { response.text().then(body => { var version = JSON.parse(body); - var usingVersion = '0.4.23-04'; + var usingVersion = '0.4.23-05'; if (usingVersion != version.current_version) { - console.log('Using emulatorjs version ' + usingVersion + ' but the newest version is ' + version.current_version); + console.log('Using emulatorjs version ' + usingVersion + ' but the newest version is ' + version.current_version + '\n\nopen https://github.com/ethanaobrien/emulatorjs to update'); }; }); }; diff --git a/data/version.json b/data/version.json index 248a24a..774daca 100644 --- a/data/version.json +++ b/data/version.json @@ -1 +1 @@ -{ "current_version": "0.4.23-04"} +{ "current_version": "0.4.23-05"}