From 04a0f9c3e0b1ae868782afa752ea7c6fac88359c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 28 Aug 2022 19:52:25 +0000 Subject: [PATCH] chore(release): 2.45.1 [skip ci] ## [2.45.1](https://github.com/revanced/revanced-patches/compare/v2.45.0...v2.45.1) (2022-08-28) ### Bug Fixes * run meta generator ([70a2b45](https://github.com/revanced/revanced-patches/commit/70a2b456b4031b3da38a18a71ede7bf84099acd0)) --- CHANGELOG.md | 7 +++++ README.md | 71 +++++++++++++++++++++++++++++++++++++++++++++-- gradle.properties | 2 +- 3 files changed, 76 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea3007976..0876a7584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.45.1](https://github.com/revanced/revanced-patches/compare/v2.45.0...v2.45.1) (2022-08-28) + + +### Bug Fixes + +* run meta generator ([70a2b45](https://github.com/revanced/revanced-patches/commit/70a2b456b4031b3da38a18a71ede7bf84099acd0)) + # [2.45.0](https://github.com/revanced/revanced-patches/compare/v2.44.0...v2.45.0) (2022-08-28) diff --git a/README.md b/README.md index 406565555..06ec94492 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# 🧩 ReVanced Patches +## 🧩 Patches -Official patches by ReVanced +The official Patch bundle provided by ReVanced and the community. -## 📜 List of available patches +> Looking for the JSON variant of this? [Click here](patches.json). ### 📦 `com.twitter.android`
@@ -99,3 +99,68 @@ Official patches by ReVanced
+ +## 📝 JSON Format + +This section explains the JSON format for the [patches.json](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 a patch is excluded by default. If `true`, the patch must never be included by default. | +| `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: + +```json +[ + { + "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, + "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" + ] + } + ] + }, + { + "name": "client-spoof", + "description": "Spoofs the YouTube or Vanced client to prevent playback issues.", + "version": "0.0.1", + "excluded": false, + "dependencies": [], + "compatiblePackages": [ + { + "name": "com.google.android.youtube", + "versions": [] + }, + { + "name": "com.vanced.android.youtube", + "versions": [] + } + ] + } +] +``` \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 00a5cd6cd..ebbf68d71 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 2.45.0 +version = 2.45.1