1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-26 10:05:10 +00:00
This commit is contained in:
zumbiepig
2024-08-17 19:58:44 -07:00
parent a2dead18dd
commit e2a68dd82a
6 changed files with 36 additions and 11 deletions

View File

@@ -260,6 +260,9 @@ const detect = {
return true;
}
},
landscape: function () {
return window.innerWidth > window.innerHeight;
},
};
if (detect.mobile()) {
@@ -284,7 +287,7 @@ if (window.location.pathname !== '/') {
alert(`MineXLauncher has been updated to v${launcherVersion}!
Changes in v${launcherVersion}:
- hello there`);
- You can now install MineXLauncher as a PWA web app`);
storage.local.set('lastVersion', launcherVersion);
}
});