feat(Twitch): Constrain patches to versions known to work
This commit is contained in:
parent
71da4f29ca
commit
65b55a5189
|
@ -17,7 +17,7 @@ import app.revanced.patches.twitch.misc.settings.SettingsPatch
|
||||||
name = "Block audio ads",
|
name = "Block audio ads",
|
||||||
description = "Blocks audio ads in streams and VODs.",
|
description = "Blocks audio ads in streams and VODs.",
|
||||||
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
|
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
|
||||||
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0", "17.0.0", "17.1.0"])],
|
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0"])],
|
||||||
)
|
)
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
object AudioAdsPatch : BytecodePatch(
|
object AudioAdsPatch : BytecodePatch(
|
||||||
|
|
|
@ -18,7 +18,7 @@ import app.revanced.patches.twitch.misc.settings.SettingsPatch
|
||||||
name = "Block embedded ads",
|
name = "Block embedded ads",
|
||||||
description = "Blocks embedded stream ads using services like Luminous or PurpleAdBlocker.",
|
description = "Blocks embedded stream ads using services like Luminous or PurpleAdBlocker.",
|
||||||
dependencies = [VideoAdsPatch::class, IntegrationsPatch::class, SettingsPatch::class],
|
dependencies = [VideoAdsPatch::class, IntegrationsPatch::class, SettingsPatch::class],
|
||||||
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0", "17.0.0", "17.1.0"])]
|
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0"])]
|
||||||
)
|
)
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
object EmbeddedAdsPatch : BytecodePatch(
|
object EmbeddedAdsPatch : BytecodePatch(
|
||||||
|
|
|
@ -21,7 +21,7 @@ import app.revanced.patches.twitch.misc.settings.SettingsPatch
|
||||||
name = "Block video ads",
|
name = "Block video ads",
|
||||||
description = "Blocks video ads in streams and VODs.",
|
description = "Blocks video ads in streams and VODs.",
|
||||||
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
|
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
|
||||||
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0", "17.0.0", "17.1.0"])]
|
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0"])]
|
||||||
)
|
)
|
||||||
object VideoAdsPatch : AbstractAdPatch(
|
object VideoAdsPatch : AbstractAdPatch(
|
||||||
"Lapp/revanced/twitch/patches/VideoAdsPatch;->shouldBlockVideoAds()Z",
|
"Lapp/revanced/twitch/patches/VideoAdsPatch;->shouldBlockVideoAds()Z",
|
||||||
|
|
|
@ -22,7 +22,7 @@ import app.revanced.patches.twitch.misc.settings.SettingsPatch
|
||||||
name = "Show deleted messages",
|
name = "Show deleted messages",
|
||||||
description = "Shows deleted chat messages behind a clickable spoiler.",
|
description = "Shows deleted chat messages behind a clickable spoiler.",
|
||||||
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
|
dependencies = [IntegrationsPatch::class, SettingsPatch::class],
|
||||||
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0", "17.0.0", "17.1.0"])]
|
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0"])]
|
||||||
)
|
)
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
object ShowDeletedMessagesPatch : BytecodePatch(
|
object ShowDeletedMessagesPatch : BytecodePatch(
|
||||||
|
|
|
@ -17,7 +17,7 @@ import app.revanced.patches.twitch.misc.settings.SettingsPatch
|
||||||
name = "Auto claim channel points",
|
name = "Auto claim channel points",
|
||||||
description = "Automatically claim Channel Points.",
|
description = "Automatically claim Channel Points.",
|
||||||
dependencies = [SettingsPatch::class],
|
dependencies = [SettingsPatch::class],
|
||||||
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0", "17.0.0", "17.1.0"])]
|
compatiblePackages = [CompatiblePackage("tv.twitch.android.app", ["15.4.1", "16.1.0"])]
|
||||||
)
|
)
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
object AutoClaimChannelPointPatch : BytecodePatch(
|
object AutoClaimChannelPointPatch : BytecodePatch(
|
||||||
|
|
Loading…
Reference in a new issue