Обновление структуры проекта, использование pydantic для конфигураций, улучшение отчёта о патчах
Build mod / build (push) Successful in 6m39s

This commit is contained in:
2025-10-01 23:07:37 +03:00
parent 5ba590cc31
commit fbc8b3e017
25 changed files with 406 additions and 315 deletions
+6 -1
View File
@@ -11,11 +11,16 @@ priority = 0
# imports
import os
import shutil
from typing import Dict, Any
from utils.config import PatchConfig
from utils.public import insert_after_public
#Config
class Config(PatchConfig): ...
# Patch
def apply(config: dict) -> bool:
def apply(config: Config, base: Dict[str, Any]) -> bool:
# Mod first launch window
shutil.copy("./resources/avatar.png", "./decompiled/assets/avatar.png")
shutil.copy(