"""
        Вставляет новые файлы в проект

"insert_new": {
  "enabled": true
}
"""

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: Config, base: Dict[str, Any]) -> bool:
    # Mod first launch window
    shutil.copy("./resources/avatar.png", "./decompiled/assets/avatar.png")
    shutil.copy(
        "./resources/OpenSans-Regular.ttf",
        "./decompiled/assets/OpenSans-Regular.ttf",
    )
    shutil.copytree(
        "./resources/smali_classes4/", "./decompiled/smali_classes4/"
    )

    return True
