docs: Simplify patch command

This commit is contained in:
oSumAtrIX 2024-01-12 09:42:05 +01:00 committed by GitHub
parent 0fc1d571e8
commit ee1e96b2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,12 +50,6 @@ without any need for intervention when using the `patch` command.
> adb shell exit > adb shell exit
> ``` > ```
> >
> To get your device's serial, run the following command:
>
> ```bash
> adb devices
> ```
>
> If you want to mount the patched app on top of the un-patched app, make sure you have root permissions: > If you want to mount the patched app on top of the un-patched app, make sure you have root permissions:
> >
> ```bash > ```bash
@ -73,7 +67,7 @@ without any need for intervention when using the `patch` command.
```bash ```bash
java -jar revanced-cli.jar patch \ java -jar revanced-cli.jar patch \
--patch-bundle revanced-patches.jar \ --patch-bundle revanced-patches.jar \
--device-serial <device-serial> \ -d \
input.apk input.apk
``` ```
@ -106,7 +100,7 @@ without any need for intervention when using the `patch` command.
--include "Some patch" \ --include "Some patch" \
--ii 123 \ --ii 123 \
--exclude "Some other patch" \ --exclude "Some other patch" \
--device-serial <device-serial> \ -d \
--mount \ --mount \
app.apk app.apk
``` ```