feat(Photomath): Constrain patches to last working version

This commit is contained in:
oSumAtrIX 2023-12-05 00:42:18 +01:00
parent c992b74a15
commit f9a5dc6c91
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import kotlin.random.Random
name = "Spoof device ID", name = "Spoof device ID",
description = "Spoofs device ID to mitigate manual bans by developers.", description = "Spoofs device ID to mitigate manual bans by developers.",
dependencies = [SignatureDetectionPatch::class], dependencies = [SignatureDetectionPatch::class],
compatiblePackages = [CompatiblePackage("com.microblink.photomath")] compatiblePackages = [CompatiblePackage("com.microblink.photomath", ["8.32.0"])]
) )
@Suppress("unused") @Suppress("unused")
object SpoofDeviceIdPatch : BytecodePatch( object SpoofDeviceIdPatch : BytecodePatch(

View File

@ -13,7 +13,7 @@ import app.revanced.patches.photomath.misc.unlockplus.fingerprints.IsPlusUnlocke
@Patch( @Patch(
name = "Unlock plus", name = "Unlock plus",
dependencies = [SignatureDetectionPatch::class, EnableBookpointPatch::class], dependencies = [SignatureDetectionPatch::class, EnableBookpointPatch::class],
compatiblePackages = [CompatiblePackage("com.microblink.photomath")] compatiblePackages = [CompatiblePackage("com.microblink.photomath", ["8.32.0"])]
) )
@Suppress("unused") @Suppress("unused")
object UnlockPlusPatch : BytecodePatch( object UnlockPlusPatch : BytecodePatch(