mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ Ability to provide apk manually.
This commit is contained in:
+5
-1
@@ -263,8 +263,12 @@ class Downloader(object):
|
||||
|
||||
:param version: version to download
|
||||
:param app: App to download
|
||||
:return: Version of apk
|
||||
:return: Version of apk.
|
||||
"""
|
||||
if app in self.config.existing_downloaded_apks:
|
||||
logger.debug("Will not download apk from the internet as it already exist.")
|
||||
# Returning Latest as I don't know, which version user provided.
|
||||
return "latest"
|
||||
if app in self.config.upto_down:
|
||||
return self.upto_down_downloader(app)
|
||||
elif app in self.config.apk_pure:
|
||||
|
||||
Reference in New Issue
Block a user