Files
Launcher/constant.py
T
wei 514f5dc7a9 Update to 0.1.7-alpha-1
- Update missing translations
2026-11-14 17:29:53 +08:00

37 lines
1.6 KiB
Python

LAUNCHER_VERSION = "0.1.7-alpha-1"
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_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.wiki/): Account system and launcher development reference
([Writing a launcher](https://zh.minecraft.wiki/w/Tutorial:%E7%BC%96%E5%86%99%E5%90%AF%E5%8A%A8%E5%99%A8))
\n
### Developer
- [Wei](https://repo.weispace.net/wei): Main developer
"""
LAUNCHER_DESCRIPTION_KEYWORD = "$ABOUT_THIS_LAUNCHER"
LAUNCHER_DESCRIPTION_MARKDOWN_KEYWORD = "$ABOUT_THIS_LAUNCHER_MARKDOWN"
WHEEL_PLUGIN_API_VERSION = "0.0.3"