1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
This commit is contained in:
zumbiepig 2024-09-10 06:58:28 -07:00
parent 7267b0ebf9
commit 59e25f51ac
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -1,4 +1,21 @@
// @ts-nocheck
const storage = {
local: {
get: function (key: string) {
const item = localStorage.getItem('minexlauncher');
if (item !== null) {
//const decoded = atob(item);
const json = JSON.parse(item);
if (json[key] !== undefined) {
return json[key];
}
return undefined;
}
return undefined;
},
},
};
window.addEventListener('load', () => {
const relayId = Math.floor(Math.random() * 3);
window.eaglercraftXOpts = {