mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
.
This commit is contained in:
parent
ca52aa1575
commit
5bf96e31ec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user