Added keystore file to reinstall during updates.

This commit is contained in:
Nikhil Badyal
2022-08-18 15:56:17 +05:30
parent 3c524f1918
commit 05c4160575
3 changed files with 8 additions and 0 deletions
+5
View File
@@ -54,5 +54,10 @@ By default script build the version as recommended by revanced team.
```dotenv
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
Thanks to [@aliharslan0](https://github.com/aliharslan0/pyrevanced) for his work.
Binary file not shown.
+3
View File
@@ -28,6 +28,7 @@ supported_apps = [
"warnwetter",
]
apps = env.list("PATCH_APPS", supported_apps)
keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
apk_mirror = "https://www.apkmirror.com"
github = "https://www.github.com"
apk_mirror_urls = {
@@ -269,6 +270,8 @@ class ArgParser:
"revanced-integrations.apk",
"-o",
f"Re{app}-{version}-output.apk",
"--keystore",
keystore_name,
]
if is_experimental:
logger.debug("Using experimental features")