mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ Added keystore file to reinstall during updates.
This commit is contained in:
@@ -54,5 +54,10 @@ By default script build the version as recommended by revanced team.
|
|||||||
```dotenv
|
```dotenv
|
||||||
PATCH_APPS=youtube,twitter,reddit
|
PATCH_APPS=youtube,twitter,reddit
|
||||||
```
|
```
|
||||||
|
4. If you don't want to use default keystore. You can provide your own by placing it
|
||||||
|
inside `apks` folder. And adding the name of file in `environment`
|
||||||
|
```dotenv
|
||||||
|
KEYSTORE_FILE_NAME=revanced.keystore
|
||||||
|
```
|
||||||
### Note
|
### Note
|
||||||
Thanks to [@aliharslan0](https://github.com/aliharslan0/pyrevanced) for his work.
|
Thanks to [@aliharslan0](https://github.com/aliharslan0/pyrevanced) for his work.
|
||||||
|
|||||||
Binary file not shown.
@@ -28,6 +28,7 @@ supported_apps = [
|
|||||||
"warnwetter",
|
"warnwetter",
|
||||||
]
|
]
|
||||||
apps = env.list("PATCH_APPS", supported_apps)
|
apps = env.list("PATCH_APPS", supported_apps)
|
||||||
|
keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
||||||
apk_mirror = "https://www.apkmirror.com"
|
apk_mirror = "https://www.apkmirror.com"
|
||||||
github = "https://www.github.com"
|
github = "https://www.github.com"
|
||||||
apk_mirror_urls = {
|
apk_mirror_urls = {
|
||||||
@@ -269,6 +270,8 @@ class ArgParser:
|
|||||||
"revanced-integrations.apk",
|
"revanced-integrations.apk",
|
||||||
"-o",
|
"-o",
|
||||||
f"Re{app}-{version}-output.apk",
|
f"Re{app}-{version}-output.apk",
|
||||||
|
"--keystore",
|
||||||
|
keystore_name,
|
||||||
]
|
]
|
||||||
if is_experimental:
|
if is_experimental:
|
||||||
logger.debug("Using experimental features")
|
logger.debug("Using experimental features")
|
||||||
|
|||||||
Reference in New Issue
Block a user