From bd60b37e879f0cbb87f7dca4c2188a1581ec9bb5 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Wed, 16 Nov 2022 22:06:16 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20New=20app=20iconpackstudio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/config.py | 2 +- src/patches.py | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c3cdb3..b629072 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,7 @@ By default, script build the version as recommended by Revanced team. 6. warnwetter 7. spotify 8. nyx-music-player + 9. icon-pack-studio 2. Remember to download the **_Microg_**. Otherwise, you will not be able to open YouTube. 3. By default, it will build only `youtube`. To build other apps supported by revanced team. diff --git a/src/config.py b/src/config.py index b25a326..820b446 100644 --- a/src/config.py +++ b/src/config.py @@ -19,7 +19,7 @@ class RevancedConfig: self.session.headers["User-Agent"] = "anything" self.build_extended = env.bool("BUILD_EXTENDED", False) self.apk_mirror = "https://www.apkmirror.com" - self.upto_down = ["spotify", "nyx-music-player"] + self.upto_down = ["spotify", "nyx-music-player", "icon-pack-studio"] self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore") self.apps = env.list("PATCH_APPS", default_build) self.extended_apps: List[str] = ["youtube", "youtube_music"] diff --git a/src/patches.py b/src/patches.py index 738b253..e15b5b7 100644 --- a/src/patches.py +++ b/src/patches.py @@ -46,6 +46,7 @@ class Patches(object): "de.dwd.warnapp": ("warnwetter", "_warnwetter"), "com.spotify.music": ("spotify", "_spotify"), "com.awedea.nyx": ("nyx-music-player", "_nyx"), + "ginlemon.iconpackstudio": ("icon-pack-studio", "_iconpackstudio"), } for app_name in (revanced_app_ids[x][1] for x in revanced_app_ids): @@ -116,6 +117,7 @@ class Patches(object): "youtube_music": "_ytm", "spotify": "_spotify", "nyx-music-player": "_nyx", + "icon-pack-studio": "_iconpackstudio", } if not (app_name := app_names.get(app)): raise AppNotFound(app_name)