PixelLauncher 2.1.3 — инстансы профилей, старт развёрнутым, аккуратные иконки сборок

This commit is contained in:
kosta2014p committed 2026-10-21 22:58:41 +07:00
1 parent 39cf752b7b
commit a04a586038
13 files changed
+1219 -119

No files matched your search

+4
View File
@@ -38,6 +38,8 @@ DEFAULTS = {
# зеркала скачивания (пустые списки = официальные серверы Mojang)
"asset_mirrors": [],
"lib_mirrors": [],
# ключ CurseForge API (необязателен: есть зеркало без ключа)
"cf_api_key": "",
# третья волна
"fav_versions": [], # закреплённые версии (id)
"profiles": [], # профили запуска (см. ui._open_profiles)
@@ -87,6 +89,8 @@ def _migrate(s):
s[key] = []
if not isinstance(s.get("accent"), str) or not s["accent"].startswith("#"):
s["accent"] = DEFAULTS["accent"]
if not isinstance(s.get("cf_api_key"), str):
s["cf_api_key"] = ""
if s.get("theme") not in ("dark", "light"):
s["theme"] = "dark"