mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-23 02:31:03 +00:00
fix: Resolve patching with dev branch
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package app.revanced.patches.music.misc.spoof
|
package app.revanced.patches.music.misc.spoof
|
||||||
|
|
||||||
|
import app.revanced.patches.music.misc.extension.sharedExtensionPatch
|
||||||
import app.revanced.patches.music.playservice.is_7_33_or_greater
|
import app.revanced.patches.music.playservice.is_7_33_or_greater
|
||||||
import app.revanced.patches.music.playservice.is_8_11_or_greater
|
import app.revanced.patches.music.playservice.is_8_11_or_greater
|
||||||
import app.revanced.patches.music.playservice.is_8_15_or_greater
|
import app.revanced.patches.music.playservice.is_8_15_or_greater
|
||||||
@@ -14,7 +15,7 @@ val spoofVideoStreamsPatch = spoofVideoStreamsPatch(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
dependsOn(versionCheckPatch, userAgentClientSpoofPatch)
|
dependsOn(sharedExtensionPatch, versionCheckPatch, userAgentClientSpoofPatch)
|
||||||
},
|
},
|
||||||
fixMediaFetchHotConfigChanges = { true },
|
fixMediaFetchHotConfigChanges = { true },
|
||||||
fixMediaFetchHotConfigAlternativeChanges = { is_8_11_or_greater && !is_8_15_or_greater },
|
fixMediaFetchHotConfigAlternativeChanges = { is_8_11_or_greater && !is_8_15_or_greater },
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ fun spoofVideoStreamsPatch(
|
|||||||
) {
|
) {
|
||||||
block()
|
block()
|
||||||
|
|
||||||
dependsOn(sharedExtensionPatch, addResourcesPatch)
|
dependsOn(addResourcesPatch)
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
// region Enable extension helper method used by other patches
|
// region Enable extension helper method used by other patches
|
||||||
|
|||||||
Reference in New Issue
Block a user