Files
Launcher/constant.py
T
wei 1bafc60d95 Add custom theme support, token refresh settings and check account login status.
Now launch log viewer has a new look.

Fix an issue that causes credentials method option not working.

Add log view to settings page.
2026-10-14 00:31:37 +08:00

19 lines
797 B
Python

LAUNCHER_VERSION = "0.0.7-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.
"""