From 98823cf03710ae4c4597f49c2122f45c3e853c42 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 5 Nov 2022 13:22:01 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Updated=20Docs=20and=20Envs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 28 +++++++--------------------- export_env.sh | 4 ++-- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index a72a80f..02dca1d 100644 --- a/README.md +++ b/README.md @@ -218,33 +218,19 @@ By default, script build the version as recommended by Revanced team.
6. After Everything done successfully the actions secrets of the repository will look something like
-10. Configuration defined in `ENVS` in `GitHub secrets` will override the configuration in `.env` file. You can use this - fact to define your normal configurations in `.env` file and sometimes if you want to build something different just - once. Add it in `GitHub secrets` or you can ignore `.env` file and always use `GitHub secrets` because to modify - `.env` you need to modify the repo. Edit it and make a commit. -11. If you want to build YouTube with `original icon` and `custom branding icon` both. Add `BUILD_OG_BRANDING_YOUTUBE` - in `.env` file or in `ENVS` in `GitHub secrets` (Recommended) in the format - - ```dotenv - BUILD_OG_BRANDING_YOUTUBE=True - ``` - - You can also specify the branding patch to use for custom icon build. This can be done with by adding - `BRANDING_PATCH` in `ENVS` in `GitHub secrets` (Recommended) in the format - - ```dotenv - BRANDING_PATCH=custom-branding-icon-blue - ``` - -12. You can build only for a particular arch in order to get smaller apk files.This can be done with by adding comma +10. You can build only for a particular arch in order to get smaller apk files.This can be done with by adding comma separated `ARCHS_TO_BUILD` in `ENVS` in `GitHub secrets` (Recommended) in the format. ```dotenv ARCHS_TO_BUILD=arm64-v8a,armeabi-v7a ``` Possible values for `ARCHS_TO_BUILD` are: `armeabi-v7a`,`x86`,`x86_64`,`arm64-v8a` Make sure you are using `revanced-extended` as `revanced` doesn't support this. -13. You can scan your build apks files with VirusTotal. For that, Add `VT_API_KEY` in `GitHub secrets`. -14. Sample Envs
+11. You can scan your build apks files with VirusTotal. For that, Add `VT_API_KEY` in `GitHub secrets`. +12. Configuration defined in `ENVS` in `GitHub secrets` will override the configuration in `.env` file. You can use this + fact to define your normal configurations in `.env` file and sometimes if you want to build something different just + once. Add it in `GitHub secrets`.
+ Or you can ignore what I said above and always use `GitHub secrets`. +13. Sample Envs
Thanks to [@aliharslan0](https://github.com/aliharslan0/pyrevanced) for his work. diff --git a/export_env.sh b/export_env.sh index d24a547..87d6ac4 100644 --- a/export_env.sh +++ b/export_env.sh @@ -7,6 +7,6 @@ set -o nounset export PATCH_APPS=youtube,twitter,reddit,youtube_music export BUILD_EXTENDED=True export EXCLUDE_PATCH_YOUTUBE=custom-branding,enable-debugging -export EXCLUDE_PATCH_YOUTUBE_EXTENDED=custom-branding-icon-red,custom-branding-icon-blue,custom-branding-icon-revancify,custom-branding-name,custom-package-name,materialyou,website -export EXCLUDE_PATCH_YOUTUBE_MUSIC_EXTENDED=custom-branding-music-red,custom-branding-music-revancify,custom-package-name-music,compact-header,website-music +export EXCLUDE_PATCH_YOUTUBE_EXTENDED=custom-branding-icon-red,custom-branding-icon-blue,custom-branding-icon-revancify,custom-branding-name,custom-package-name,materialyou,overlay-buttons-alternative-icon +export EXCLUDE_PATCH_YOUTUBE_MUSIC_EXTENDED=custom-branding-music-red,custom-branding-music-revancify,custom-package-name-music,compact-header export ARCHS_TO_BUILD=arm64-v8a