Доавление описания патчей в docstring
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
"""Change api server"""
|
"""
|
||||||
|
Заменяет сервер api
|
||||||
|
|
||||||
|
"change_server": {
|
||||||
|
"server": "https://anixarty.wowlikon.tech/modding"
|
||||||
|
}
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
from tqdm import tqdm
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import requests
|
import requests
|
||||||
|
from tqdm import tqdm
|
||||||
|
|
||||||
|
|
||||||
def apply(config: dict) -> bool:
|
def apply(config: dict) -> bool:
|
||||||
|
|||||||
+17
-1
@@ -1,4 +1,20 @@
|
|||||||
"""Change application theme"""
|
"""
|
||||||
|
Изменяет цветовую тему приложения и иконку
|
||||||
|
|
||||||
|
"color_theme": {
|
||||||
|
"colors": {
|
||||||
|
"primary": "#ccff00",
|
||||||
|
"secondary": "#ffffd700",
|
||||||
|
"background": "#ffffff",
|
||||||
|
"text": "#000000"
|
||||||
|
},
|
||||||
|
"gradient": {
|
||||||
|
"angle": "135.0",
|
||||||
|
"from": "#ffff6060",
|
||||||
|
"to": "#ffccff00"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
|
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
"""Disable ad banners"""
|
"""
|
||||||
|
Удаляет баннеры рекламы
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
|
|
||||||
from utils.smali_parser import (
|
from utils.smali_parser import (
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
"""Remove beta banner"""
|
"""
|
||||||
|
Удаляет баннеры бета-версии
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
from tqdm import tqdm
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
from tqdm import tqdm
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
"""Insert new files"""
|
"""
|
||||||
|
Вставляет новые файлы в проект
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
"""Change package name of apk"""
|
"""
|
||||||
|
Изменяет имя пакета в apk, удаляет вход по google и vk
|
||||||
|
|
||||||
|
"package_name": {
|
||||||
|
"new_package_name": "com.wowlikon.anixart"
|
||||||
|
}
|
||||||
|
"""
|
||||||
priority = -1
|
priority = -1
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
"""Replace navbar items"""
|
"""
|
||||||
|
Меняет порядок вкладок в панели навигации
|
||||||
|
|
||||||
|
"replace_navbar": {
|
||||||
|
"items": ["home", "discover", "feed", "bookmarks", "profile"]
|
||||||
|
}
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
|
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
|
|||||||
@@ -1,4 +1,24 @@
|
|||||||
"""Add new settings"""
|
"""
|
||||||
|
Добавляет в настройки ссылки и доавляет текст к версии приложения
|
||||||
|
|
||||||
|
"settings_urls": {
|
||||||
|
"menu": {
|
||||||
|
"Раздел": [
|
||||||
|
{
|
||||||
|
"title": "Заголовок",
|
||||||
|
"description": "Описание",
|
||||||
|
"url": "ссылка",
|
||||||
|
"icon": "@drawable/ic_custom_telegram",
|
||||||
|
"icon_space_reserved": "false"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"version": " by wowlikon"
|
||||||
|
}
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
|
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
"""Add custom video playback speed"""
|
"""
|
||||||
|
Добавляет пользовательские скорости воспроизведения видео
|
||||||
|
|
||||||
|
"custom_speed": {
|
||||||
|
"speeds": [9.0]
|
||||||
|
}
|
||||||
|
"""
|
||||||
priority = 0
|
priority = 0
|
||||||
|
|
||||||
from utils.smali_parser import float_to_hex
|
from utils.smali_parser import float_to_hex
|
||||||
|
|||||||
Reference in New Issue
Block a user