ReVancedBuilder/README.md

21 lines
1.9 KiB
Markdown
Raw Normal View History

2022-10-09 17:37:34 -05:00
# Revanced Build
2022-10-12 19:32:37 -05:00
This repo will allow one to build [ReVanced](https://github.com/revanced/) apps automatically and post it to a telegram channel to access and possibly share the builds with friends. It uses [telegram.sh](https://github.com/fabianonline/telegram.sh) to send messages and [telegram-upload](https://github.com/Nekmo/telegram-upload) to upload files. Make sure that `Java >=17` is installed and selected as default.
2022-10-11 20:25:44 -05:00
## How to use
2022-10-11 21:05:04 -05:00
Just run `./build_revanced <working-directory> (force/clean/experimental)`. Might be a good idea to set it up to run periodically using cron. I currently use the following in a user crontab to run it everyday at 6 AM:
2022-10-11 20:48:14 -05:00
```
0 6 * * * <full-script-location> <full-working-directory-location>
```
2022-10-09 17:37:34 -05:00
## Notes
2022-10-09 22:13:01 -05:00
- The script will download the **automatically selected compatible version** (using compatibility of patches as listed [here](https://github.com/revanced/revanced-patches#list-of-available-patches)) of Youtube on APKMirror, **NOT** latest official version on Google Play.
2022-10-09 17:37:34 -05:00
- Under **NO CIRCUMSTANCES** any APKs will be uploaded to this repository to avoid DMCA.
2022-10-12 19:08:28 -05:00
- The script assumes that the working directory has the `telegram.sh` script along with a working config file, and `telegram-upload` installed and working with the channel link saved in a file called `channel_address`. For their config, look at the links provided on top.
2022-10-12 19:00:55 -05:00
- In the current configuration, the script only builds YouTube ReVanced and YouTube Music ReVanced (both nonroot), but it's easy to add support for any other ReVanced app. The code for root builds is included but commented out.
2022-10-12 19:32:37 -05:00
- All the packages are pulled from [APKMirror](https://apkmirror.com) and GitHub (`revanced` and `EFForg` repos).
2022-10-09 17:37:34 -05:00
## Customize your build
If you wish to continue with the default settings, you may skip this step.
By default this will build ReVanced with ALL available patches. Follow [this guide](PATCHES_GUIDE.md) to exclude/customizing patches for your build.