mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
📝 Consistent env convention
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ class APP(object):
|
||||
self.integrations_dl = config.env.str(
|
||||
f"{app_name}_INTEGRATION_DL".upper(), config.global_integrations_dl
|
||||
)
|
||||
self.exclude_request = config.env.list(f"EXCLUDE_PATCH_{app_name}".upper(), [])
|
||||
self.include_request = config.env.list(f"INCLUDE_PATCH_{app_name}".upper(), [])
|
||||
self.exclude_request = config.env.list(f"{app_name}_EXCLUDE_PATCH".upper(), [])
|
||||
self.include_request = config.env.list(f"{app_name}_INCLUDE_PATCH".upper(), [])
|
||||
self.resource: Dict[str, str] = {}
|
||||
self.no_of_patches = 0
|
||||
self.keystore_name = config.env.str(
|
||||
|
||||
@@ -72,10 +72,6 @@ class RevancedConfig(object):
|
||||
key: value + value.split("/")[-2]
|
||||
for key, value in self.apk_mirror_urls.items()
|
||||
}
|
||||
self.alternative_youtube_patches = env.list("ALTERNATIVE_YOUTUBE_PATCHES", [])
|
||||
self.alternative_youtube_music_patches = env.list(
|
||||
"ALTERNATIVE_YOUTUBE_MUSIC_PATCHES", []
|
||||
)
|
||||
self.existing_downloaded_apks = env.list("EXISTING_DOWNLOADED_APKS", [])
|
||||
self.personal_access_token = env.str("PERSONAL_ACCESS_TOKEN", None)
|
||||
self.dry_run = env.bool("DRY_RUN", False)
|
||||
|
||||
Reference in New Issue
Block a user