From 0d47375092639e3e5dad8d67991004fc2f103606 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 20 Apr 2023 03:23:45 +0200 Subject: [PATCH] fix(youtube/spoof-signature-verification): depend on `client-spoof` patch --- .../fix/playback/patch/SpoofSignatureVerificationPatch.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/SpoofSignatureVerificationPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/SpoofSignatureVerificationPatch.kt index 0ec8f7dd4..32b094c14 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/SpoofSignatureVerificationPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/fix/playback/patch/SpoofSignatureVerificationPatch.kt @@ -14,6 +14,7 @@ import app.revanced.patcher.patch.PatchResultSuccess import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.annotations.Patch import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod +import app.revanced.patches.shared.misc.fix.spoof.patch.ClientSpoofPatch import app.revanced.patches.shared.settings.preference.impl.StringResource import app.revanced.patches.shared.settings.preference.impl.SwitchPreference import app.revanced.patches.youtube.misc.fix.playback.annotation.ProtobufSpoofCompatibility @@ -29,7 +30,12 @@ import org.jf.dexlib2.iface.instruction.OneRegisterInstruction @Name("spoof-signature-verification") @Description("Spoofs a patched client to prevent playback issues.") @ProtobufSpoofCompatibility -@DependsOn([IntegrationsPatch::class, SettingsPatch::class, PlayerTypeHookPatch::class]) +@DependsOn([ + IntegrationsPatch::class, + SettingsPatch::class, + PlayerTypeHookPatch::class, + ClientSpoofPatch::class +]) @Version("0.0.1") class SpoofSignatureVerificationPatch : BytecodePatch( listOf(