Official patches by ReVanced

semantic-release-bot 32f3589b05 chore(release): 2.141.0-dev.2 [skip ci] 2 年之前
.github f94f456886 build: use cache for Android SDK 2 年之前
.idea 9648e41aea chore: ignore kotlinc.xml 2 年之前
gradle 320a083991 chore: update gradlew wrapper 3 年之前
src 4e8f9bd7e9 feat(twitch/block-embedded-ads): `block-embedded-ads` patch (#1166) 2 年之前
.gitignore 046659efe2 build: install node modules locally 2 年之前
.releaserc 17e351c99a fix: release `patches.json` file (#402) 2 年之前
CHANGELOG.md 32f3589b05 chore(release): 2.141.0-dev.2 [skip ci] 2 年之前
LICENSE 89dec2fbf9 Initial commit 3 年之前
README-template.md acf7d21572 feat!: apply changes from ReVanced Patcher 2 年之前
README.md 58f55e0843 chore(release): 2.141.0-dev.1 [skip ci] 2 年之前
build.gradle.kts c443e2a1bf build: improve step to setup the Android SDK 2 年之前
gradle.properties 32f3589b05 chore(release): 2.141.0-dev.2 [skip ci] 2 年之前
gradlew ff7a5602f6 fix: add execute permission to `./gradlew` file 3 年之前
gradlew.bat bee5f2faed feat: Initial commit 3 年之前
package-lock.json 046659efe2 build: install node modules locally 2 年之前
package.json 046659efe2 build: install node modules locally 2 年之前
patches.json 58f55e0843 chore(release): 2.141.0-dev.1 [skip ci] 2 年之前
settings.gradle.kts bee5f2faed feat: Initial commit 3 年之前

README-template.md

🧩 Patches

The official Patch bundle provided by ReVanced and the community.

Looking for the JSON variant of this? Click here.

{{ table }}

📝 JSON Format

This section explains the JSON format for the patches.json file.

The file contains an array of objects, each object representing a patch. The object contains the following properties:

key description
name The name of the patch.
description The description of the patch.
version The version of the patch.
excluded Whether the patch is excluded by default. If true, the patch must never be included by default.
options An array of options for this patch.
options.key The key of the option.
options.title The title of the option.
options.description The description of the option.
options.required Whether the option is required.
options.choices? An array of choices of the option. This may be null if this option has no choices. The element type of this array may be any type. It can be a String, Int or something else.
dependencies An array of dependencies, which are patch names.
compatiblePackages An array of packages compatible with this patch.
compatiblePackages.name The name of the package.
compatiblePackages.versions An array of versions of the package compatible with this patch. If empty, all versions are seemingly compatible.

Example:

[
  {
    "name": "remember-video-quality",
    "description": "Adds the ability to remember the video quality you chose in the video quality flyout.",
    "version": "0.0.1",
    "excluded": false,
    "options": [],
    "dependencies": [
      "integrations",
      "video-id-hook"
    ],
    "compatiblePackages": [
      {
        "name": "com.google.android.youtube",
        "versions": [
          "17.22.36",
          "17.24.35",
          "17.26.35",
          "17.27.39",
          "17.28.34",
          "17.29.34",
          "17.32.35",
          "17.33.42"
        ]
      }
    ]
  },
  {
    "name": "theme",
    "description": "Enables a custom theme.",
    "version": "0.0.1",
    "excluded": false,
    "deprecated": false,
    "options": [
      {
        "key": "theme",
        "title": "Theme",
        "description": "Select a theme.",
        "required": true,
        "choices": [
          "Amoled"
        ]
      }
    ],
    "dependencies": [
      "locale-config-fix"
    ],
    "compatiblePackages": [
      {
        "name": "com.google.android.youtube",
        "versions": []
      }
    ]
  },
  {
    "name": "custom-branding",
    "description": "Changes the YouTube launcher icon and name to your choice (defaults to ReVanced).",
    "version": "0.0.1",
    "excluded": false,
    "deprecated": false,
    "options": [
      {
        "key": "appName",
        "title": "Application Name",
        "description": "The name of the application it will show on your home screen.",
        "required": true,
        "choices": null
      },
      {
        "key": "appIconPath",
        "title": "Application Icon Path",
        "description": "A path to the icon of the application.",
        "required": false,
        "choices": null
      }
    ],
    "dependencies": [
      "locale-config-fix"
    ],
    "compatiblePackages": [
      {
        "name": "com.google.android.youtube",
        "versions": []
      }
    ]
  }
]