Version 0.4.23-02

This commit is contained in:
Ethan O'Brien 2021-09-19 18:18:00 -05:00
parent 4fb5eea0ed
commit 1063a96c54
3 changed files with 18796 additions and 9 deletions

File diff suppressed because one or more lines are too long

View file

@ -2,7 +2,7 @@ fetch('https://raw.githack.com/ethanaobrien/emulatorjs/main/data/version.json').
if (response.ok) { if (response.ok) {
response.text().then(body => { response.text().then(body => {
var version = JSON.parse(body); var version = JSON.parse(body);
var usingVersion = '0.4.23-01'; var usingVersion = '0.4.23-02';
if (usingVersion != version.current_version) { 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);
}; };
@ -56,7 +56,6 @@ window.getHeadGameInfo = function(normalFunc, url) {
if (! url.startsWith('blob:')) { if (! url.startsWith('blob:')) {
return normalFunc(url, {}) return normalFunc(url, {})
} else { } else {
window.addEventListener("beforeunload", function(event) {indexedDB.deleteDatabase('ejs-roms');indexedDB.deleteDatabase('ejs-romsdata');});
return async function() { return async function() {
//console.log('blob url') //console.log('blob url')
var a = await fetch(url) var a = await fetch(url)

View file

@ -1 +1 @@
{ "current_version": "0.4.23-01"} { "current_version": "0.4.23-02"}