forked from anixart-mod/patcher
исправления ошибок, добавление патча настроек
This commit is contained in:
+16
-6
@@ -11,10 +11,9 @@ def apply(config: dict) -> bool:
|
||||
)
|
||||
|
||||
# Mod assets
|
||||
shutil.copy("./patches/resources/wowlikon.png", "./decompiled/assets/wowlikon.png")
|
||||
shutil.copy(
|
||||
"./patches/resources/ytsans_medium.ttf",
|
||||
"./decompiled/res/font/ytsans_medium.ttf",
|
||||
"./patches/resources/wowlikon.png",
|
||||
"./decompiled/assets/wowlikon.png"
|
||||
)
|
||||
shutil.copy(
|
||||
"./patches/resources/OpenSans-Regular.ttf",
|
||||
@@ -29,9 +28,20 @@ def apply(config: dict) -> bool:
|
||||
"./decompiled/res/drawable/ic_custom_telegram.xml",
|
||||
)
|
||||
shutil.copy(
|
||||
"./patches/resources/torlook-fs8.torlook-fs8.png",
|
||||
"./decompiled/res/drawable/torlook-fs8.png",
|
||||
"./patches/resources/ytsans_medium.ttf",
|
||||
"./decompiled/res/font/ytsans_medium.ttf",
|
||||
)
|
||||
os.remove("./decompiled/res/font/ytsans_medium.otf")
|
||||
|
||||
# IDK
|
||||
shutil.move(
|
||||
"./decompiled/res/raw/bundled_cert.crt",
|
||||
"./decompiled/res/raw/bundled_cert.cer",
|
||||
)
|
||||
shutil.move(
|
||||
"./decompiled/res/raw/sdkinternalca.crt",
|
||||
"./decompiled/res/raw/sdkinternalca.cer",
|
||||
)
|
||||
|
||||
os.remove("./decompiled/res/font/ytsans_medium.otf")
|
||||
return False
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user