Update to v0.1.4 Add `is_function_in_file` and if the key is "<ORIGINAL>", the `TranslationManager.translate()` will return it directly. (For some strings that don't need to translate in specific language) Launcher Update to 0.1.0a0 Add plugin system support and add some useful apis for plugin. Add "Refresh avatar cache" to account page.
20 lines
885 B
Python
20 lines
885 B
Python
LAUNCHER_VERSION = "0.1.0-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.
|
|
"""
|
|
LAUNCHER_DESCRIPTION_KEYWORD = "$ABOUT_THIS_LAUNCHER"
|
|
WHEEL_PLUGIN_API_VERSION = "0.0.1" |