Files
Launcher/constant.py
T

37 lines
1.6 KiB
Python
Raw Normal View History

2026-11-14 17:10:33 +08:00
LAUNCHER_VERSION = "0.1.7-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
2026-11-10 22:05:18 +08:00
- [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
"""
2026-10-30 00:16:04 +08:00
LAUNCHER_DESCRIPTION_KEYWORD = "$ABOUT_THIS_LAUNCHER"
LAUNCHER_DESCRIPTION_MARKDOWN_KEYWORD = "$ABOUT_THIS_LAUNCHER_MARKDOWN"
2026-11-14 17:10:33 +08:00
WHEEL_PLUGIN_API_VERSION = "0.0.3"