mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🐛 Fix file not found
This commit is contained in:
+10
-2
@@ -59,12 +59,20 @@ class Parser(object):
|
||||
else:
|
||||
self._PATCHES[patch_index - 1] = "-e"
|
||||
|
||||
def patch_app(self, app: str, version: str, is_experimental: bool = False) -> None:
|
||||
# noinspection IncorrectFormatting
|
||||
def patch_app(
|
||||
self,
|
||||
app: str,
|
||||
version: str,
|
||||
is_experimental: bool = False,
|
||||
output_prefix: str = "-",
|
||||
) -> None:
|
||||
"""Revanced APP Patcher.
|
||||
|
||||
:param app: Name of the app
|
||||
:param version: Version of the application
|
||||
:param is_experimental: Whether to enable experimental support
|
||||
:param output_prefix: Prefix to add to the output apks file name
|
||||
"""
|
||||
logger.debug(f"Sending request to revanced cli for building {app} revanced")
|
||||
cli = self.config.normal_cli_jar
|
||||
@@ -84,7 +92,7 @@ class Parser(object):
|
||||
"-m",
|
||||
integrations,
|
||||
"-o",
|
||||
f"Re-{app}-{version}-output.apk",
|
||||
f"Re-{app}-{version}{output_prefix}output.apk",
|
||||
"--keystore",
|
||||
self.config.keystore_name,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user