mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Version 0.4.23-02
This commit is contained in:
parent
4fb5eea0ed
commit
1063a96c54
3 changed files with 18796 additions and 9 deletions
18800
data/emulator.js
18800
data/emulator.js
File diff suppressed because one or more lines are too long
|
@ -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)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{ "current_version": "0.4.23-01"}
|
{ "current_version": "0.4.23-02"}
|
Loading…
Reference in a new issue