docs: Fix the syntax highlighting

This commit is contained in:
Sayantan Santra 2023-08-01 12:00:48 -05:00 committed by GitHub
parent fe0ed0a4a8
commit 34d49e5799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,11 @@ This repo will allow one to build [ReVanced](https://github.com/revanced/) apps
Just run `./build_revanced <working-directory> (force/clean/experimental/checkonly/buildonly)`. Might be a good idea to set it up to run periodically. There are a few ways of doing it. Just run `./build_revanced <working-directory> (force/clean/experimental/checkonly/buildonly)`. Might be a good idea to set it up to run periodically. There are a few ways of doing it.
1. Just drop it inside `/etc/cron.daily/`. 1. Just drop it inside `/etc/cron.daily/`.
1. To make it run at a specific time (6AM in the example) using `cron`, put this in your `crontab`: 1. To make it run at a specific time (6AM in the example) using `cron`, put this in your `crontab`:
```crontab ```
0 6 * * * <full-script-location> <full-working-directory-location> 0 6 * * * <full-script-location> <full-working-directory-location>
``` ```
1. The exact same thing as in 2 can be achieved using `systemd` timers instead. Create the following files. 1. The exact same thing as in 2 can be achieved using `systemd` timers instead. Create the following files.
```toml ```
/etc/systemd/system/revanced-builder.service /etc/systemd/system/revanced-builder.service
--------------------------------------------- ---------------------------------------------
[Unit] [Unit]
@ -23,7 +23,7 @@ Just run `./build_revanced <working-directory> (force/clean/experimental/checkon
Group=<group> Group=<group>
ExecStart=_JAVA_OPTIONS='-Xmx512m' <full-script-location> <full-working-directory-location> ExecStart=_JAVA_OPTIONS='-Xmx512m' <full-script-location> <full-working-directory-location>
``` ```
```toml ```
/etc/systemd/system/revanced-builder.timer /etc/systemd/system/revanced-builder.timer
------------------------------------------- -------------------------------------------
[Unit] [Unit]