Update to v0.1.3-alpha

- Add Forge/Neoforge support.
- Now launcher will try to recreate the manifest if specific version does not exist.
- Themed "ItLooksLikeOfficial" scrollbar.

CoreLib update to 0.1.6
This commit is contained in:
wei committed 2026-11-01 17:35:22 +08:00
1 parent ef3667ae5e
commit 8316722169
23 files changed
+3000 -127

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
"""Presentation of structured loader errors shared by loader selection views."""
from collections.abc import Callable
from core_lib.common.exception import LoaderUnsupportedSpecificVersion
def format_unsupported_loader_version(
error: LoaderUnsupportedSpecificVersion, translate: Callable[..., str],
) -> str:
loader = {
"fabric": "Fabric", "forge": "Forge", "neoforge": "NeoForge",
}.get(error.loader_name, error.loader_name)
return translate(
"{loader} does not support Minecraft {version}.",
loader=loader, version=error.target_version,
)