Обновление вывода информации о патчах, добавление патча лайков/дизлайков

This commit is contained in:
2025-10-11 18:40:44 +03:00
parent b646dbf6fe
commit 28c60aa7a3
27 changed files with 313 additions and 114 deletions
+8
View File
@@ -67,3 +67,11 @@ def find_and_replace_smali_line(
def float_to_hex(f):
b = struct.pack(">f", f)
return b.hex()
def quick_replace(file: str) -> None:
content = ""
with open(file, "r", encoding="utf-8") as smali:
content = smali.read()
with open(file, "w", encoding="utf-8") as f:
f.writelines(content)