mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 05:37:40 +02:00
fix(music/spoof-app-version): add missing dependencies
This commit is contained in:
@ -5,6 +5,8 @@ import app.revanced.patcher.annotation.Name
|
|||||||
import app.revanced.patcher.data.BytecodeContext
|
import app.revanced.patcher.data.BytecodeContext
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
import app.revanced.patcher.patch.annotations.Patch
|
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.annotations.MusicCompatibility
|
||||||
import app.revanced.patches.music.utils.settings.resource.patch.SettingsPatch
|
import app.revanced.patches.music.utils.settings.resource.patch.SettingsPatch
|
||||||
import app.revanced.patches.shared.patch.versionspoof.AbstractVersionSpoofPatch
|
import app.revanced.patches.shared.patch.versionspoof.AbstractVersionSpoofPatch
|
||||||
@ -14,7 +16,13 @@ import app.revanced.util.integrations.Constants.MUSIC_MISC_PATH
|
|||||||
@Patch
|
@Patch
|
||||||
@Name("Spoof app version")
|
@Name("Spoof app version")
|
||||||
@Description("Spoof the YouTube Music client version.")
|
@Description("Spoof the YouTube Music client version.")
|
||||||
@DependsOn([SettingsPatch::class])
|
@DependsOn(
|
||||||
|
[
|
||||||
|
OldStyleLibraryShelfPatch::class,
|
||||||
|
SampleButtonPatch::class,
|
||||||
|
SettingsPatch::class
|
||||||
|
]
|
||||||
|
)
|
||||||
@MusicCompatibility
|
@MusicCompatibility
|
||||||
class SpoofAppVersionPatch : AbstractVersionSpoofPatch(
|
class SpoofAppVersionPatch : AbstractVersionSpoofPatch(
|
||||||
"$MUSIC_MISC_PATH/SpoofAppVersionPatch;->getVersionOverride(Ljava/lang/String;)Ljava/lang/String;"
|
"$MUSIC_MISC_PATH/SpoofAppVersionPatch;->getVersionOverride(Ljava/lang/String;)Ljava/lang/String;"
|
||||||
|
Reference in New Issue
Block a user