1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 08:14:48 +00:00
This commit is contained in:
zumbiepig 2024-07-26 07:16:16 -07:00 committed by GitHub
parent 16a763883b
commit c2ea12d643
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 19 additions and 3 deletions

View File

@ -41,7 +41,7 @@
<img src="/resources/images/covers/minecraft.png" class="cover-image" />
<div class="installations">
<button class="play-button" onclick="game.play('/game/web/mobile/eaglerpocketmobile-1.8.8/')">Play</button>
<button class="play-button" href="/game/offline/mobile/eaglerpocketmobile-1.8.8/index.html" download="EaglerPocketMobile_Offline.html">Download Offline</button>
<a class="play-button" href="/game/offline/mobile/eaglerpocketmobile-1.8.8/index.html" download="EaglerPocketMobile_Offline.html">Download Offline</a>
</div>
</div>
</div>

View File

@ -0,0 +1,10 @@
.launcher {
width: 95vw;
height: 95vh;
margin: 10px auto 0 auto;
}
.play-button {
text-decoration: none;
padding: 10px 10px;
}

View File

@ -59,7 +59,7 @@
<li>Added hacked clients</li>
<li>Added Eaglercraft 1.2.5</li>
<li>Added more mods and resource packs</li>
<li>Fix mobile site not working</li>
<li>Fix and optimize mobile site</li>
<br />
<strong>MineXLauncher 1.1</strong>
<li>Temporary workaround for keyboard not working in the game</li>

View File

@ -1,12 +1,18 @@
const theme = {
load() {
if (window.location.pathname === '/mobile/') {
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = '/resources/styles/mobile.css';
document.head.appendChild(link);
}
const setTheme = cookie.get('minexlauncher.theme');
if (setTheme === null) {
theme.set('default');
} else if (setTheme !== 'default') {
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = '/resources/styles/' + setTheme + '.css';
link.href = `/resources/styles/${setTheme}.css`;
document.head.appendChild(link);
}
},