Update URLs

This commit is contained in:
Ethan O'Brien 2022-09-14 13:58:31 -05:00
parent f4e61a135a
commit 8cebd39e4b
2 changed files with 3 additions and 3 deletions

View file

@ -5528,7 +5528,7 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
let _0x14264d = _0x428003('li', {}); let _0x14264d = _0x428003('li', {});
_0x14264d.appendChild(_0x428003('a', { _0x14264d.appendChild(_0x428003('a', {
'target': '_blank', '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))); }, 'EmulatorJS v' .concat(this.version)));
_0x2a1dda.appendChild(_0x14264d); _0x2a1dda.appendChild(_0x14264d);
_0x2a1dda.setAttribute('menu', ''); _0x2a1dda.setAttribute('menu', '');

View file

@ -2,12 +2,12 @@
let VERSION = 23.9; let VERSION = 23.9;
if ((window.location && ['localhost', '127.0.0.1'].includes(location.hostname)) || if ((window.location && ['localhost', '127.0.0.1'].includes(location.hostname)) ||
'undefined' != typeof EJS_DEBUG_XX && true === EJS_DEBUG_XX) { '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) { if (response.ok) {
response.text().then(body => { response.text().then(body => {
let version = JSON.parse(body); let version = JSON.parse(body);
if (VERSION < version.current_version) { 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');
} }
}) })
} }