From e14065c2d3469f6d3d176c605aea76cc9b417563 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Sun, 30 Apr 2023 18:19:39 +0900 Subject: [PATCH] feat(client-spoof): removed from patch list and dependent on `microg-support` patch --- .../youtube/misc/clientspoof/patch/ClientSpoofPatch.kt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/clientspoof/patch/ClientSpoofPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/clientspoof/patch/ClientSpoofPatch.kt index c548fc13e..c9bb26baa 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/clientspoof/patch/ClientSpoofPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/clientspoof/patch/ClientSpoofPatch.kt @@ -10,18 +10,14 @@ import app.revanced.patcher.extensions.instruction import app.revanced.patcher.patch.BytecodePatch import app.revanced.patcher.patch.PatchResult import app.revanced.patcher.patch.PatchResultSuccess -import app.revanced.patcher.patch.annotations.DependsOn import app.revanced.patcher.patch.annotations.Patch import app.revanced.patches.shared.annotation.YouTubeCompatibility import app.revanced.patches.youtube.misc.clientspoof.fingerprints.UserAgentHeaderBuilderFingerprint import app.revanced.patches.youtube.misc.microg.shared.Constants.PACKAGE_NAME -import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch import org.jf.dexlib2.iface.instruction.FiveRegisterInstruction -@Patch @Name("client-spoof") @Description("Spoofs a patched client to allow playback.") -@DependsOn([SettingsPatch::class]) @YouTubeCompatibility @Version("0.0.1") class ClientSpoofPatch : BytecodePatch( @@ -38,11 +34,6 @@ class ClientSpoofPatch : BytecodePatch( } } ?: return UserAgentHeaderBuilderFingerprint.toErrorResult() - /* - update settings - */ - SettingsPatch.updatePatchStatus("client-spoof") - return PatchResultSuccess() } }