Рефакторинг патчей, реализация Список патчей:

settings_urls: ✔ enabled
  disable_ad: ✔ enabled
  disable_beta_banner: ✔ enabled
  insert_new: ✔ enabled
  color_theme: ✔ enabled
  change_server: ✘ disabled
  package_name: ✔ enabled
  replace_navbar: ✔ enabled
  compress: ✔ enabled, обновление описаний
This commit is contained in:
2025-09-20 23:00:00 +03:00
parent 66336f3a5c
commit 5ff882a8d5
14 changed files with 142 additions and 60 deletions
+6 -1
View File
@@ -1,18 +1,23 @@
"""
Добавляет пользовательские скорости воспроизведения видео
Добавляет пользовательские скорости воспроизведения видео
"custom_speed": {
"enabled": true,
"speeds": [9.0]
}
"""
priority = 0
# imports
from utils.smali_parser import float_to_hex
from utils.public import (
insert_after_public,
insert_after_id,
)
# Patch
def apply(config: dict) -> bool:
assert float_to_hex(1.5) == "0x3fc00000"