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-09 22:00:53 -07:00
parent ca52aa1575
commit 5bf96e31ec
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -1,5 +1,6 @@
import { gt, coerce } from 'semver';
import { inflate, deflate } from 'pako';
// @ts-expect-error
import idbExportImport from 'indexeddb-export-import';
let selectedVersion: string | undefined = undefined;
@ -585,7 +586,7 @@ if (window.location.pathname === '/') {
}
}); */
document.addEventListener('load', () => sw.register('/sw.js'));
window.addEventListener('beforeunload', () => game.stop());
// window.addEventListener('beforeunload', () => game.stop());
window.addEventListener('beforeinstallprompt', (event) => {
// @ts-expect-error