mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-13 05:37:45 +01:00
docs: Fix blockquote highlights not rendering
As of 14. Nov 2023 GitHub has decided to disable nested highlighted blockquotes: https://github.com/orgs/community/discussions/16925.
This commit is contained in:
parent
b5bd988a1d
commit
b6f63c7d9d
@ -34,7 +34,7 @@ ReVanced CLI is divided into the following fundamental commands:
|
|||||||
revanced-patches.jar [<patch-bundle> ...]
|
revanced-patches.jar [<patch-bundle> ...]
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
> **ℹ️ Note**
|
||||||
> A default `options.json` file will be automatically created if it does not exist
|
> A default `options.json` file will be automatically created if it does not exist
|
||||||
without any need for intervention when using the `patch` command.
|
without any need for intervention when using the `patch` command.
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ without any need for intervention when using the `patch` command.
|
|||||||
You can patch apps by supplying patch bundles and the app to patch.
|
You can patch apps by supplying patch bundles and the app to patch.
|
||||||
After patching, ReVanced CLI can install the patched app on your device using two methods:
|
After patching, ReVanced CLI can install the patched app on your device using two methods:
|
||||||
|
|
||||||
> [!NOTE]
|
> **💡 Tip**
|
||||||
> For ReVanced CLI to be able to install the patched app on your device, make sure ADB is working:
|
> For ReVanced CLI to be able to install the patched app on your device, make sure ADB is working:
|
||||||
>
|
>
|
||||||
> ```bash
|
> ```bash
|
||||||
@ -57,7 +57,7 @@ without any need for intervention when using the `patch` command.
|
|||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
|
|
||||||
> [!WARNING]
|
> **⚠️ Warning**
|
||||||
> Some patches may require integrations
|
> Some patches may require integrations
|
||||||
> such as [ReVanced Integrations](https://github.com/revanced/revanced-integrations).
|
> such as [ReVanced Integrations](https://github.com/revanced/revanced-integrations).
|
||||||
> Supply them with the option `--merge`. ReVanced Patcher will automatically determine if they are necessary.
|
> Supply them with the option `--merge`. ReVanced Patcher will automatically determine if they are necessary.
|
||||||
@ -73,14 +73,25 @@ without any need for intervention when using the `patch` command.
|
|||||||
|
|
||||||
- #### 👾 Patch an app and mount it on top of the un-patched app with root permissions
|
- #### 👾 Patch an app and mount it on top of the un-patched app with root permissions
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> **❗ Caution**
|
||||||
> Ensure that the same app you are patching and mounting over is installed on your device:
|
> Ensure that the same app you are patching and mounting over is installed on your device:
|
||||||
>
|
>
|
||||||
> ```bash
|
> ```bash
|
||||||
> adb install app.apk
|
> adb install app.apk
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
> [!NOTE]
|
```bash
|
||||||
|
java -jar revanced-cli.jar patch \
|
||||||
|
--patch-bundle revanced-patches.jar \
|
||||||
|
--include "Some patch" \
|
||||||
|
--ii 123 \
|
||||||
|
--exclude "Some other patch" \
|
||||||
|
-d \
|
||||||
|
--mount \
|
||||||
|
app.apk
|
||||||
|
```
|
||||||
|
|
||||||
|
> **💡 Tip**
|
||||||
> You can use the option `--ii` to include or `--ie` to exclude
|
> You can use the option `--ii` to include or `--ie` to exclude
|
||||||
> patches by their index in relation to supplied patch bundles,
|
> patches by their index in relation to supplied patch bundles,
|
||||||
> similarly to the option `--include` and `--exclude`.
|
> similarly to the option `--include` and `--exclude`.
|
||||||
@ -94,17 +105,6 @@ without any need for intervention when using the `patch` command.
|
|||||||
> Keep in mind that the indices can change based on the order of the patch bundles supplied,
|
> Keep in mind that the indices can change based on the order of the patch bundles supplied,
|
||||||
> as well if the patch bundles are updated because patches can be added or removed.
|
> as well if the patch bundles are updated because patches can be added or removed.
|
||||||
|
|
||||||
```bash
|
|
||||||
java -jar revanced-cli.jar patch \
|
|
||||||
--patch-bundle revanced-patches.jar \
|
|
||||||
--include "Some patch" \
|
|
||||||
--ii 123 \
|
|
||||||
--exclude "Some other patch" \
|
|
||||||
-d \
|
|
||||||
--mount \
|
|
||||||
app.apk
|
|
||||||
```
|
|
||||||
|
|
||||||
- ### 🗑️ Uninstall an app
|
- ### 🗑️ Uninstall an app
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -113,7 +113,7 @@ without any need for intervention when using the `patch` command.
|
|||||||
[<device-serial>]
|
[<device-serial>]
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
> **💡 Tip**
|
||||||
> You can unmount an APK file
|
> You can unmount an APK file
|
||||||
by adding the option `--unmount`.
|
by adding the option `--unmount`.
|
||||||
|
|
||||||
@ -125,6 +125,6 @@ by adding the option `--unmount`.
|
|||||||
[<device-serial>]
|
[<device-serial>]
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
> **💡 Tip**
|
||||||
> You can mount an APK file
|
> You can mount an APK file
|
||||||
> by supplying the package name of the app to mount the supplied APK file over the option `--mount`.
|
> by supplying the app's package name to mount the supplied APK file over the option `-mount`.
|
||||||
|
Loading…
Reference in New Issue
Block a user