mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
♻️ Refactored strings
This commit is contained in:
committed by
Nikhil Badyal
parent
507390bd88
commit
6dd960b147
+9
-7
@@ -5,12 +5,14 @@ from typing import Self
|
||||
|
||||
from environs import Env
|
||||
|
||||
from src.utils import default_build
|
||||
|
||||
default_cli = "https://github.com/revanced/revanced-cli/releases/latest"
|
||||
default_patches = "https://github.com/revanced/revanced-patches/releases/latest"
|
||||
default_patches_json = default_patches
|
||||
default_integrations = "https://github.com/revanced/revanced-integrations/releases/latest"
|
||||
from src.utils import (
|
||||
default_build,
|
||||
default_cli,
|
||||
default_integrations,
|
||||
default_patches,
|
||||
default_patches_json,
|
||||
resource_folder,
|
||||
)
|
||||
|
||||
|
||||
class RevancedConfig(object):
|
||||
@@ -18,7 +20,7 @@ class RevancedConfig(object):
|
||||
|
||||
def __init__(self: Self, env: Env) -> None:
|
||||
self.env = env
|
||||
self.temp_folder_name = "apks"
|
||||
self.temp_folder_name = resource_folder
|
||||
self.temp_folder = Path(self.temp_folder_name)
|
||||
self.ci_test = env.bool("CI_TEST", False)
|
||||
self.rip_libs_apps: list[str] = []
|
||||
|
||||
Reference in New Issue
Block a user