mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-25 20:28:37 -06:00
docs: Minor changes
This commit is contained in:
parent
80b6cbf374
commit
956e6499da
2 changed files with 5 additions and 4 deletions
|
@ -51,10 +51,10 @@ It might be a good idea to set it up to run periodically. There are a few ways o
|
|||
## Notes
|
||||
- If you installed it using `pipx`, you can figure out the full location of the program by running `which ReVancedBuilder`.
|
||||
- This app needs some config files to run. Download all the config files inside `exampl_configs` directory, namely `build_config`, `chosen_patches` (optional), and `notification_config` (optional, needed only if you want to send notifications) and move them to your working directory. Then, you should modify these files to your liking.
|
||||
- The script will download the **automatically selected compatible version** (unless version is specified in `build_config`) (using compatibility of patches as listed [here](https://github.com/revanced/revanced-patches#list-of-available-patches)) of Youtube on APKPure, **NOT** latest official version on Google Play.
|
||||
- The script will download the **automatically selected compatible version** (unless version is specified in `build_config`) (using compatibility of patches as listed [here](https://revanced.app/patches)) of Youtube on APKPure, **NOT** latest official version on Google Play.
|
||||
- **Under no circumstances** will any APKs be uploaded to this repository as that might attract legal problems.
|
||||
- If you enable telegram notifications, make sure to fill up the config options inside the `build_config` file. For more information about the config, take at look at the repos of `telegram.sh` and `telegram-upload` provided above.
|
||||
- It can also run a post script (if exists), specified in the `build_config` file. The `timestamp` is passed as `$1`.
|
||||
- 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 using the `build_config` file. The config files are self-explanatory.
|
||||
- All the packages are pulled from [APKPure](https://apkpure.com) and GitHub (the `revanced/*` repos).
|
||||
- All the packages are pulled from [APKPure](https://apkpure.com) and GitHub (the [`revanced/*`](https://github.com/revanced) repos).
|
||||
|
||||
|
|
|
@ -185,8 +185,9 @@ elif flag != 'checkonly':
|
|||
with open('versions.json', 'w') as f:
|
||||
json.dump(appstate['present_vers'], f, indent=4)
|
||||
try:
|
||||
subprocess.run(
|
||||
f"{appstate['build_config']['post_script']['file']} {appstate['timestamp']}", shell=True)
|
||||
cmd = f"{appstate['build_config']['post_script']['file']} {appstate['timestamp']}"
|
||||
print(f"Running the psot command '{cmd}")
|
||||
subprocess.run(cmd, shell=True)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue