fix(music/spoof-app-version): add missing dependencies

This commit is contained in:
inotia00
2023-09-13 12:27:50 +09:00
parent 27b9ba8328
commit a93365acb3

View File

@ -5,6 +5,8 @@ import app.revanced.patcher.annotation.Name
import app.revanced.patcher.data.BytecodeContext
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.patch.annotations.Patch
import app.revanced.patches.music.general.oldstylelibraryshelf.patch.OldStyleLibraryShelfPatch
import app.revanced.patches.music.navigation.sample.patch.SampleButtonPatch
import app.revanced.patches.music.utils.annotations.MusicCompatibility
import app.revanced.patches.music.utils.settings.resource.patch.SettingsPatch
import app.revanced.patches.shared.patch.versionspoof.AbstractVersionSpoofPatch
@ -14,7 +16,13 @@ import app.revanced.util.integrations.Constants.MUSIC_MISC_PATH
@Patch
@Name("Spoof app version")
@Description("Spoof the YouTube Music client version.")
@DependsOn([SettingsPatch::class])
@DependsOn(
[
OldStyleLibraryShelfPatch::class,
SampleButtonPatch::class,
SettingsPatch::class
]
)
@MusicCompatibility
class SpoofAppVersionPatch : AbstractVersionSpoofPatch(
"$MUSIC_MISC_PATH/SpoofAppVersionPatch;->getVersionOverride(Ljava/lang/String;)Ljava/lang/String;"