Files
Launcher/constant.py
T

36 lines
1.5 KiB
Python
Raw Normal View History

2026-10-30 23:24:28 +08:00
LAUNCHER_VERSION = "0.1.1-alpha"
2026-08-04 17:40:45 +08:00
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"
2026-08-03 00:40:16 +08:00
SYSTEM_KEYRING_KEYWORD = "SYSTEM_CREDENTIALS"
LAUNCHER_DESCRIPTION = """An unofficial Minecraft launcher written in Python. It aims to maintain maximum compatibility with the official Minecraft
2026-08-03 00:40:16 +08:00
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.
2026-08-03 00:40:16 +08:00
"""
LAUNCHER_DESCRIPTION_MARKDOWN = \
"""
An unofficial Minecraft launcher written in Python.
It aims to maintain maximum compatibility with the official Minecraft
\n
*This launcher is not associated with Mojang Studios or Microsoft. Is a personal project that just for fun.*
\n\n
### Credits
- [PySide6](https://pypi.org/project/PySide6/): GUI framework
- [Nuitka](https://nuitka.net/): Build tool
- [Minecraft Wiki](https://minecraft.fandom.com/wiki/Main_Page): Account system and launcher development reference
\n
### Developer
- [Wei](https://repo.weispace.net/wei): Main developer
"""
2026-10-30 00:16:04 +08:00
LAUNCHER_DESCRIPTION_KEYWORD = "$ABOUT_THIS_LAUNCHER"
LAUNCHER_DESCRIPTION_MARKDOWN_KEYWORD = "$ABOUT_THIS_LAUNCHER_MARKDOWN"
WHEEL_PLUGIN_API_VERSION = "0.0.2"