mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-21 01:53:56 +00:00
fix(Twitch): Constrain patches to last working app targets (#5373)
This commit is contained in:
committed by
GitHub
parent
562e005772
commit
d7eb6e87a5
@@ -21,7 +21,7 @@ val audioAdsPatch = bytecodePatch(
|
|||||||
addResourcesPatch,
|
addResourcesPatch,
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith("tv.twitch.android.app")
|
compatibleWith("tv.twitch.android.app"("16.9.1", "25.3.0"))
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
addResources("twitch", "ad.audio.audioAdsPatch")
|
addResources("twitch", "ad.audio.audioAdsPatch")
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ val embeddedAdsPatch = bytecodePatch(
|
|||||||
settingsPatch,
|
settingsPatch,
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith("tv.twitch.android.app")
|
compatibleWith("tv.twitch.android.app"("16.9.1", "25.3.0"))
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
addResources("twitch", "ad.embedded.embeddedAdsPatch")
|
addResources("twitch", "ad.embedded.embeddedAdsPatch")
|
||||||
|
|||||||
@@ -155,7 +155,5 @@ val videoAdsPatch = bytecodePatch(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith(
|
compatibleWith("tv.twitch.android.app"("16.9.1", "25.3.0"))
|
||||||
"tv.twitch.android.app",
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ val showDeletedMessagesPatch = bytecodePatch(
|
|||||||
addResourcesPatch,
|
addResourcesPatch,
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith("tv.twitch.android.app")
|
compatibleWith("tv.twitch.android.app"("16.9.1", "25.3.0"))
|
||||||
|
|
||||||
fun createSpoilerConditionInstructions(register: String = "v0") = """
|
fun createSpoilerConditionInstructions(register: String = "v0") = """
|
||||||
invoke-static {}, Lapp/revanced/extension/twitch/patches/ShowDeletedMessagesPatch;->shouldUseSpoiler()Z
|
invoke-static {}, Lapp/revanced/extension/twitch/patches/ShowDeletedMessagesPatch;->shouldUseSpoiler()Z
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ val autoClaimChannelPointsPatch = bytecodePatch(
|
|||||||
addResourcesPatch,
|
addResourcesPatch,
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith("tv.twitch.android.app")
|
compatibleWith("tv.twitch.android.app"("16.9.1", "25.3.0"))
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
addResources("twitch", "chat.autoclaim.autoClaimChannelPointsPatch")
|
addResources("twitch", "chat.autoclaim.autoClaimChannelPointsPatch")
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ val debugModePatch = bytecodePatch(
|
|||||||
addResourcesPatch,
|
addResourcesPatch,
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith("tv.twitch.android.app")
|
compatibleWith("tv.twitch.android.app"("16.9.1", "25.3.0"))
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
addResources("twitch", "debug.debugModePatch")
|
addResources("twitch", "debug.debugModePatch")
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ val settingsPatch = bytecodePatch(
|
|||||||
settingsPatch(preferences = preferences),
|
settingsPatch(preferences = preferences),
|
||||||
)
|
)
|
||||||
|
|
||||||
compatibleWith("tv.twitch.android.app")
|
compatibleWith("tv.twitch.android.app"("16.9.1"))
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
addResources("twitch", "misc.settings.settingsPatch")
|
addResources("twitch", "misc.settings.settingsPatch")
|
||||||
|
|||||||
Reference in New Issue
Block a user