mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-26 10:05:10 +00:00
.
This commit is contained in:
@@ -26,12 +26,13 @@
|
||||
<script>
|
||||
const iframe = document.createElement('iframe');
|
||||
const lastPage = storage.session.get('lastPage');
|
||||
const isMobile = detect.mobile();
|
||||
|
||||
if (storage.local.get('lastVersion') === null) {
|
||||
iframe.src = '/welcome.html';
|
||||
} else if (lastPage !== null) {
|
||||
iframe.src = lastPage;
|
||||
} else if (detect.mobile()) {
|
||||
} else if (isMobile) {
|
||||
iframe.src = '/mobile/';
|
||||
} else {
|
||||
iframe.src = '/home/game/';
|
||||
|
||||
@@ -1,19 +1,40 @@
|
||||
{
|
||||
"name": "MineXLauncher",
|
||||
"short_name": "MineX",
|
||||
"description": "Custom launcher for Eaglercraft, which contains many versions and clients.",
|
||||
"id": "/",
|
||||
"start_url": "/",
|
||||
"theme_color": "#333",
|
||||
"background_color": "#333",
|
||||
"orientation": "landscape",
|
||||
"display": "standalone",
|
||||
"display_override": ["fullscreen"],
|
||||
"categories": ["games"],
|
||||
"icons": [
|
||||
{
|
||||
"src": "/resources/images/icons/minexlauncher-192x192.webp",
|
||||
"sizes": "192x192",
|
||||
"src": "/resources/images/icons/minexlauncher.webp",
|
||||
"sizes": "192x192 512x512 2048x2048",
|
||||
"type": "image/webp"
|
||||
},
|
||||
{
|
||||
"src": "/resources/images/icons/minexlauncher-512x512.webp",
|
||||
"sizes": "512x512",
|
||||
"type": "image/webp"
|
||||
"src": "/resources/manifest/icons/maskable-2275x2275.webp",
|
||||
"sizes": "192x192 512x512 2275x2275",
|
||||
"type": "image/webp",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#333",
|
||||
"theme_color": "#333"
|
||||
"screenshots": [
|
||||
{
|
||||
"src": "/resources/manifest/screenshots/desktop/later.webp",
|
||||
"sizes": "1280x720",
|
||||
"type": "image/webp",
|
||||
"form_factor": "wide"
|
||||
},
|
||||
{
|
||||
"src": "/resources/manifest/screenshots/mobile/later.webp",
|
||||
"sizes": "1280x720",
|
||||
"type": "image/webp",
|
||||
"form_factor": "narrow"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
BIN
public/resources/manifest/icons/maskable-2275x2275.webp
Normal file
BIN
public/resources/manifest/icons/maskable-2275x2275.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 436 KiB |
Reference in New Issue
Block a user