Перенос добавления ресурсов в соответствующие патчи
This commit is contained in:
@@ -4,6 +4,8 @@ priority = 0
|
||||
import shutil
|
||||
import os
|
||||
|
||||
from utils.public import insert_after_public
|
||||
|
||||
|
||||
def apply(config: dict) -> bool:
|
||||
# Mod first launch window
|
||||
@@ -31,14 +33,7 @@ def apply(config: dict) -> bool:
|
||||
)
|
||||
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",
|
||||
)
|
||||
insert_after_public("warning_error_counter_background", "ic_custom_telegram")
|
||||
insert_after_public("warning_error_counter_background", "ic_custom_crown")
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user