mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
✨ Added microg patch
This commit is contained in:
+13
-4
@@ -29,10 +29,19 @@ def download_revanced(config: RevancedConfig, patcher: Patches) -> None:
|
||||
["inotia00", "revanced-integrations", config.integrations_apk],
|
||||
["inotia00", "revanced-patches", config.patches_jar],
|
||||
]
|
||||
if "youtube" in config.apps or "youtube_music" in config.apps:
|
||||
assets += [
|
||||
["inotia00", "mMicroG", "mMicroG-output.apk"],
|
||||
]
|
||||
if (
|
||||
"youtube" in config.apps
|
||||
or "youtube_music" in config.apps
|
||||
or "microg" in config.apps
|
||||
):
|
||||
if config.build_extended and "microg" in config.apps:
|
||||
assets += [
|
||||
["inotia00", "mMicroG", "microg.apk"],
|
||||
]
|
||||
else:
|
||||
assets += [
|
||||
["inotia00", "mMicroG", "microg-output.apk"],
|
||||
]
|
||||
downloader = DownloaderFactory.create_downloader(
|
||||
app="patches", patcher=patcher, config=config
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user