mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🎨 Per app key name
This commit is contained in:
@@ -29,6 +29,9 @@ class APP(object):
|
||||
self.include_request = config.env.list(f"INCLUDE_PATCH_{app_name}".upper(), [])
|
||||
self.resource: Dict[str, str] = {}
|
||||
self.no_of_patches = 0
|
||||
self.keystore_name = config.env.str(
|
||||
f"{app_name}_KEYSTORE_FILE_NAME".upper(), config.global_keystore_name
|
||||
)
|
||||
self.download_patch_resources(config)
|
||||
|
||||
def get_output_file_name(self) -> str:
|
||||
|
||||
+3
-1
@@ -35,7 +35,9 @@ class RevancedConfig(object):
|
||||
]
|
||||
self.apk_pure = ["hex-editor", "androidtwelvewidgets"]
|
||||
self.apk_sos = ["expensemanager", "candyvpn"]
|
||||
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
||||
self.global_keystore_name = env.str(
|
||||
"GLOBAL_KEYSTORE_FILE_NAME", "revanced.keystore"
|
||||
)
|
||||
self.ci_test = env.bool("CI_TEST", False)
|
||||
self.apps = env.list("PATCH_APPS", default_build)
|
||||
self.rip_libs_apps: List[str] = []
|
||||
|
||||
+1
-2
@@ -89,7 +89,7 @@ class Parser(object):
|
||||
"-o",
|
||||
app.get_output_file_name(),
|
||||
"--keystore",
|
||||
self.config.keystore_name,
|
||||
app.keystore_name,
|
||||
"--options",
|
||||
"options.json",
|
||||
]
|
||||
@@ -111,7 +111,6 @@ class Parser(object):
|
||||
logger.debug(
|
||||
f"Sending request to revanced cli for building with args java {args}"
|
||||
)
|
||||
return
|
||||
process = Popen(["java", *args], stdout=PIPE)
|
||||
output = process.stdout
|
||||
if not output:
|
||||
|
||||
Reference in New Issue
Block a user