mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-19 18:36:25 +00:00
Fix core path
Some checks failed
Make Latest Folder On EmulatorJS CDN / run (push) Has been cancelled
Some checks failed
Make Latest Folder On EmulatorJS CDN / run (push) Has been cancelled
This commit is contained in:
parent
b30c5f42a8
commit
469b9fcc4e
1 changed files with 2 additions and 2 deletions
|
@ -570,7 +570,7 @@ class EmulatorJS {
|
|||
this.downloadFile(corePath, (res) => {
|
||||
if (res === -1) {
|
||||
console.log("File not found, attemping to fetch from emulatorjs cdn");
|
||||
this.downloadFile("https://cdn.emulatorjs.org/latest/data/"+corePath, (res) => {
|
||||
this.downloadFile("https://cdn.emulatorjs.org/stable/data/"+corePath, (res) => {
|
||||
if (res === -1) {
|
||||
if (!this.supportsWebgl2) {
|
||||
this.startGameError(this.localization('Outdated graphics driver'));
|
||||
|
@ -579,7 +579,7 @@ class EmulatorJS {
|
|||
}
|
||||
return;
|
||||
}
|
||||
console.warn("File was not found locally, but was found on the emulatorjs cdn.\nIt is recommended to download the latest release from here: https://cdn.emulatorjs.org/releases/");
|
||||
console.warn("File was not found locally, but was found on the emulatorjs cdn.\nIt is recommended to download the stable release from here: https://cdn.emulatorjs.org/releases/");
|
||||
gotCore(res.data);
|
||||
this.storage.core.put(filename, {
|
||||
version: rep.buildStart,
|
||||
|
|
Loading…
Reference in a new issue