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:
@@ -214,6 +214,7 @@ By default, script build the version as recommended by Revanced team.
|
||||
YOUTUBE_MUSIC_INTEGRATION_DL=https://github.com/inotia00/revanced-integrations/releases/latest
|
||||
YOUTUBE_MUSIC_PATCHES_DL=https://github.com/inotia00/revanced-patches/releases/latest
|
||||
YOUTUBE_MUSIC_CLI_DL=https://github.com/inotia00/revanced-cli/releases/latest
|
||||
YOUTUBE_MUSIC_KEYSTORE_FILE_NAME=key.store
|
||||
```
|
||||
These link if not from GitHub must be direct download links.
|
||||
7. You can also provide a default resources which will be used when per app config is missing.
|
||||
@@ -260,7 +261,7 @@ By default, script build the version as recommended by Revanced team.
|
||||
inside `apks` folder. And adding the name of `keystore-file` in `.env` file or in `ENVS` in `GitHub secrets`
|
||||
(Recommended) in the format
|
||||
```dotenv
|
||||
KEYSTORE_FILE_NAME=revanced.keystore
|
||||
GLOBAL_KEYSTORE_FILE_NAME=revanced.keystore
|
||||
```
|
||||
11. For Telegram Upload.
|
||||
1. Set up a telegram channel, send a message to it and forward the message to
|
||||
|
||||
@@ -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