Emphasize in the console, that fetching the core from the CDN is meant to function as a failsafe

This commit is contained in:
Ethan O'Brien 2024-12-24 17:03:08 -06:00 committed by GitHub
parent 6ab560d09f
commit ea19b8d764
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -593,6 +593,7 @@ class EmulatorJS {
return;
}
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/");
console.warn("**THIS METHOD IS A FAILSAFE, AND NOT OFFICIALLY SUPPORTED. USE AT YOUR OWN RISK**");
}
gotCore(res.data);
this.storage.core.put(filename, {