fix(hooks/useGameManager): update neoLegacy link

This commit is contained in:
neoapps-dev 2026-08-11 13:56:58 +03:00
parent b0da976374
commit 84697a67e2
2 changed files with 18 additions and 18 deletions

View file

@ -8,21 +8,21 @@ import androidx.core.view.WindowInsetsCompat
import androidx.core.view.WindowInsetsControllerCompat
class MainActivity : TauriActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
enableEdgeToEdge()
super.onCreate(savedInstanceState)
WindowCompat.getInsetsController(window, window.decorView).apply {
systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
hide(WindowInsetsCompat.Type.statusBars() or WindowInsetsCompat.Type.navigationBars())
override fun onCreate(savedInstanceState: Bundle?) {
enableEdgeToEdge()
super.onCreate(savedInstanceState)
WindowCompat.getInsetsController(window, window.decorView).apply {
systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
hide(WindowInsetsCompat.Type.statusBars() or WindowInsetsCompat.Type.navigationBars())
}
}
}
override fun onWebViewCreate(webView: WebView) {
super.onWebViewCreate(webView)
webView.settings.useWideViewPort = true
webView.settings.loadWithOverviewMode = true
webView.settings.setSupportZoom(false)
webView.settings.builtInZoomControls = false
webView.settings.displayZoomControls = false
}
override fun onWebViewCreate(webView: WebView) {
super.onWebViewCreate(webView)
webView.settings.useWideViewPort = true
webView.settings.loadWithOverviewMode = true
webView.settings.setSupportZoom(false)
webView.settings.builtInZoomControls = false
webView.settings.displayZoomControls = false
}
}

View file

@ -31,7 +31,7 @@ export const BASE_EDITIONS = [
id: "legacy_evolved",
name: "neoLegacy",
desc: "Backporting newer title updates and Minigames back to LCE",
url: "https://bucket.ibatv.xyz/neolegacy/Release.zip",
url: "https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/releases/download/latest/neoLegacyWindows64.zip", //neo: fuck IBA (Julia)
titleImage: "/images/minecraft_title_neoLegacy.png",
supportsSlimSkins: true,
logo: "/images/neoLegacy.png",
@ -106,7 +106,7 @@ const PARTNERSHIP_SERVERS = [
name: "LapboardMC",
ip: "104.168.125.227",
port: 4444,
}
},
];
interface GameManagerProps {
@ -684,4 +684,4 @@ export function useGameManager({
updateCustomization,
saveCustomPath,
};
}
}