feat(YouTube Music): changes to supported versions - changed 6.29.58 to 6.29.59, changed 7.16.52 to 7.16.53, removed 6.33.52 (as it is almost the same as 6.29.59)

This commit is contained in:
inotia00
2024-09-23 22:32:29 +09:00
parent ce5561732e
commit 42ecfa9b8b
3 changed files with 4 additions and 5 deletions

View File

@ -19,7 +19,7 @@ import app.revanced.util.injectLiteralInstructionBooleanCall
"com.google.android.apps.youtube.music",
[
"7.06.54",
"7.16.52",
"7.16.53",
]
)
]

View File

@ -777,7 +777,7 @@ object PlayerComponentsPatch : BaseBytecodePatch(
"""
rememberShuffleStateShuffleStateLabel += if (getInstruction(checkCastIndex + 1).opcode == Opcode.INVOKE_VIRTUAL) {
// YouTube Music 7.16.52+
// YouTube Music 7.16.53+
"""
invoke-virtual {v1}, $getOrdinalClassReference
move-result-object v1

View File

@ -8,11 +8,10 @@ object Constants {
"com.google.android.apps.youtube.music",
setOf(
"6.20.51", // This is the latest version that supports Android 5.0
"6.29.58", // This is the latest version that supports the 'Restore old player layout' setting.
"6.33.52", // This is the latest version with the legacy code of YouTube Music.
"6.29.59", // This is the latest version that supports the 'Restore old player layout' setting.
"6.42.55", // This is the latest version that supports Android 7.0
"6.51.53", // This is the latest version of YouTube Music 6.xx.xx
"7.16.52", // This is the latest version supported by the RVX patch.
"7.16.53", // This is the latest version supported by the RVX patch.
)
)
)