mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
Update URLs
This commit is contained in:
parent
f4e61a135a
commit
8cebd39e4b
2 changed files with 3 additions and 3 deletions
|
@ -5528,7 +5528,7 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
|
|||
let _0x14264d = _0x428003('li', {});
|
||||
_0x14264d.appendChild(_0x428003('a', {
|
||||
'target': '_blank',
|
||||
'href': 'https://github.com/ethanaobrien/emulatorjs' // Modifying this is against the terms of service
|
||||
'href': 'https://github.com/EmulatorJS/EmulatorJS' // Modifying this is against the terms of service
|
||||
}, 'EmulatorJS v' .concat(this.version)));
|
||||
_0x2a1dda.appendChild(_0x14264d);
|
||||
_0x2a1dda.setAttribute('menu', '');
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
let VERSION = 23.9;
|
||||
if ((window.location && ['localhost', '127.0.0.1'].includes(location.hostname)) ||
|
||||
'undefined' != typeof EJS_DEBUG_XX && true === EJS_DEBUG_XX) {
|
||||
fetch('https://raw.githack.com/ethanaobrien/emulatorjs/main/data/version.json').then(response => {
|
||||
fetch('https://raw.githack.com/EmulatorJS/EmulatorJS/main/data/version.json').then(response => {
|
||||
if (response.ok) {
|
||||
response.text().then(body => {
|
||||
let version = JSON.parse(body);
|
||||
if (VERSION < version.current_version) {
|
||||
console.log('Using emulatorjs version ' + VERSION + ' but the newest version is ' + version.current_version + '\nopen https://github.com/ethanaobrien/emulatorjs to update');
|
||||
console.log('Using emulatorjs version ' + VERSION + ' but the newest version is ' + version.current_version + '\nopen https://github.com/EmulatorJS/EmulatorJS to update');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue