Files
Launcher/constant.py
T
wei 77c4be7dcf CoreLib
Update to v0.1.3
Add `safe_download` option to `download_file`.
The function `save_version_manifest` will save to temp location and then replace path to the destination.
Add `check_core_file_exists_and_verify` and `validate_version_manifest` to `version_info.py`.
Add legacy assets check process code to assets.py (missing in the old version)

Launcher
Update to 0.0.9a0
All launching processes now will check core file hash before game started.
The legacy assets will be checked and redownloaded (if corrupted or missing)
Remove launched profile from `launching_profiles` record and cleanup.
Add online mode launching to TestPage.
Add some tests.
2026-10-22 21:28:29 +08:00

19 lines
797 B
Python

LAUNCHER_VERSION = "0.0.9-alpha"
LAUNCHER_NAME = "TapLauncher"
LAUNCHER_DIR_NAME = "TapLauncher"
MAIN_REPO_URL = "https://repo.weispace.net/wei/Launcher/"
CLIENT_ID = "30cbb657-edab-4d06-9fb7-cf5734a40088"
MICROSOFT_VERIFY_ENDPOINT = "https://www.microsoft.com/link"
LAUNCHER_USER_AGENT = f"{LAUNCHER_NAME}/{LAUNCHER_VERSION} (Powered by request module)"
ACCESS_TOKEN_KEYWORD = "accessToken"
REFRESH_TOKEN_KEYWORD = "refreshToken"
SYSTEM_KEYRING_KEYWORD = "SYSTEM_CREDENTIALS"
LAUNCHER_DESCRIPTION = """An unofficial Minecraft launcher written in Python. It aims to maintain maximum compatibility with the official Minecraft
Launcher while being more lightweight and easier to use.
This launcher is not associated with Mojang Studios or Microsoft. Is a personal project that just for fun.
"""