1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-26 10:05:10 +00:00

MineXLauncher 1.4

This commit is contained in:
zumbiepig
2024-08-16 22:04:25 -07:00
committed by GitHub
parent 4474cd91a1
commit 58b11e9f66
331 changed files with 2937626 additions and 46548 deletions

View File

@@ -3,54 +3,13 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="EaglercraftL 1.9 test directory HTML page" />
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.9, 1.9.4" />
<title>EaglercraftL 1.9</title>
<meta property="og:locale" content="en-US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="EaglercraftL 1.9" />
<meta property="og:description" content="test directory HTML page" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<script type="text/javascript" src="classes.js"></script>
<script type="text/javascript">
"use strict";
window.addEventListener("load", () => {
if(document.location.href.startsWith("file:")) {
alert("HTTP please, do not open this file locally, run a local HTTP server and load it via HTTP");
}else {
const isHttps = document.location.protocol === "https:";
var serverURL = isHttps ? "wss://" : "ws://";
serverURL += document.location.host + "/";
const relayId = Math.floor(Math.random() * 3);
window.eaglercraftXOpts = {
demoMode: false,
container: "game_frame",
assetsURI: "assets.epk",
localesURI: "lang/",
worldsDB: "worlds",
logInvalidCerts: true,
servers: [
{ addr: serverURL, name: "TemuzX" }
],
relays: [
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId == 0 },
{ addr: "wss://relay.lax1dude.net/", comment: "lax1dude relay #2", primary: relayId == 1 },
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId == 2 }
]
};
var q = window.location.search;
if(typeof q === "string" && q.startsWith("?")) {
q = new URLSearchParams(q);
var s = q.get("server");
if(s) window.eaglercraftXOpts.joinServer = s;
}
main();
}
});
</script>
<title>Eaglercraftλ 1.9</title>
<link rel="icon" type="image/webp" href="/resources/images/icons/clients/1.9.4.webp" />
<link rel="stylesheet" href="/resources/styles/eagler.css" />
<script src="/resources/scripts/google-tag.js"></script>
<script src="/game/web/main/1.9.4/classes.js"></script>
<script src="/resources/scripts/eagler-launch/1.8.8/eaglerpocketmobile.js"></script>
<script src="/resources/scripts/eagler-launch/1.9.4/main.js"></script>
</head>
<body style="margin:0px;width:100vw;height:100vh;overflow:hidden;" id="game_frame">
</body>
</html>
<body id="game_frame"></body>
</html>