mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-30 21:52:56 +01:00
build: bump patcher dependency version (#119)
This commit is contained in:
parent
44161ecd47
commit
6146ef081d
@ -22,7 +22,7 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(kotlin("stdlib"))
|
implementation(kotlin("stdlib"))
|
||||||
|
|
||||||
implementation("app.revanced:revanced-patcher:2.2.0")
|
implementation("app.revanced:revanced-patcher:2.3.0")
|
||||||
implementation("app.revanced:multidexlib2:2.5.2.r2")
|
implementation("app.revanced:multidexlib2:2.5.2.r2")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,9 +45,7 @@ import org.jf.dexlib2.immutable.reference.ImmutableMethodReference
|
|||||||
@Description("Patch to remove general ads in bytecode.")
|
@Description("Patch to remove general ads in bytecode.")
|
||||||
@GeneralAdsCompatibility
|
@GeneralAdsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class GeneralBytecodeAdsPatch : BytecodePatch(
|
class GeneralBytecodeAdsPatch : BytecodePatch() {
|
||||||
listOf()
|
|
||||||
) {
|
|
||||||
// a constant used by litho
|
// a constant used by litho
|
||||||
private val lithoConstant = 0xaed2868
|
private val lithoConstant = 0xaed2868
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
|||||||
@Description("Patch to hide the cast button.")
|
@Description("Patch to hide the cast button.")
|
||||||
@CastButtonCompatibility
|
@CastButtonCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class HideCastButtonPatch : BytecodePatch(listOf()) {
|
class HideCastButtonPatch : BytecodePatch() {
|
||||||
override fun execute(data: BytecodeData): PatchResult {
|
override fun execute(data: BytecodeData): PatchResult {
|
||||||
data.classes.forEach { classDef ->
|
data.classes.forEach { classDef ->
|
||||||
classDef.methods.forEach { method ->
|
classDef.methods.forEach { method ->
|
||||||
|
Loading…
Reference in New Issue
Block a user