Build Og and Custom Icon

This commit is contained in:
Nikhil Badyal
2022-10-14 19:46:51 +05:30
parent e162068b30
commit a07d852ec4
4 changed files with 38 additions and 0 deletions
+18
View File
@@ -41,6 +41,24 @@ class Parser(object):
"""
return self._EXCLUDED
def get_all_patches(self) -> List[str]:
"""
Getter to get all excluded patches
:return: List of excluded patches
"""
return self._PATCHES
def invert_patch(self, name: str) -> None:
"""
Getter to get all excluded patches
:return: List of excluded patches
"""
patch_index = self._PATCHES.index(name)
if self._PATCHES[patch_index - 1] == "e":
self._PATCHES[patch_index - 1] = "-i"
else:
self._PATCHES[patch_index - 1] = "-e"
def patch_app(self, app: str, version: str, is_experimental: bool = False) -> None:
"""Revanced APP Patcher.