forked from anixart-mod/patcher
Добавление патча сжатия png, обновление документации
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
# Change package icon of apk
|
||||
"""Insert new files"""
|
||||
priority = 0
|
||||
from tqdm import tqdm
|
||||
|
||||
import shutil
|
||||
import os
|
||||
|
||||
|
||||
def apply(config: dict) -> bool:
|
||||
# Mod first launch window
|
||||
shutil.copytree(
|
||||
"./patches/resources/smali_classes4/", "./decompiled/smali_classes4/"
|
||||
"./patches/resources/smali_classes4/",
|
||||
"./decompiled/smali_classes4/"
|
||||
)
|
||||
|
||||
# Mod assets
|
||||
@@ -43,5 +45,4 @@ def apply(config: dict) -> bool:
|
||||
"./decompiled/res/raw/sdkinternalca.cer",
|
||||
)
|
||||
|
||||
os.remove("./decompiled/res/font/ytsans_medium.otf")
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user