mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
✨ Github Downloader
This commit is contained in:
@@ -4,6 +4,7 @@ from src.downloader.apkmirror import ApkMirror
|
||||
from src.downloader.apkpure import ApkPure
|
||||
from src.downloader.apksos import ApkSos
|
||||
from src.downloader.download import Downloader
|
||||
from src.downloader.github import Github
|
||||
from src.downloader.uptodown import UptoDown
|
||||
from src.patches import Patches
|
||||
|
||||
@@ -23,6 +24,8 @@ class DownloaderFactory(object):
|
||||
patcher : Patcher
|
||||
config : Config
|
||||
"""
|
||||
if app == "patches":
|
||||
return Github(patcher, config)
|
||||
if app in config.apk_pure:
|
||||
return ApkPure(patcher, config)
|
||||
elif app in config.apk_sos:
|
||||
|
||||
Reference in New Issue
Block a user