From efef03b80da21552d0d8be6913faba64e4fb5ed1 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 2 May 2025 14:58:25 +0200 Subject: [PATCH] feat(Lightroom): Constrain patches to last working version --- .../patches/lightroom/misc/login/DisableMandatoryLoginPatch.kt | 2 +- .../patches/lightroom/misc/premium/UnlockPremiumPatch.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/login/DisableMandatoryLoginPatch.kt b/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/login/DisableMandatoryLoginPatch.kt index a5a1cf8f3..1ba1c2048 100644 --- a/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/login/DisableMandatoryLoginPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/login/DisableMandatoryLoginPatch.kt @@ -7,7 +7,7 @@ import app.revanced.patcher.patch.bytecodePatch val disableMandatoryLoginPatch = bytecodePatch( name = "Disable mandatory login", ) { - compatibleWith("com.adobe.lrmobile") + compatibleWith("com.adobe.lrmobile"("10.0.2")) execute { isLoggedInFingerprint.method.apply { diff --git a/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/premium/UnlockPremiumPatch.kt b/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/premium/UnlockPremiumPatch.kt index b9187af27..4561cee41 100644 --- a/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/premium/UnlockPremiumPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/premium/UnlockPremiumPatch.kt @@ -7,7 +7,7 @@ import app.revanced.patcher.patch.bytecodePatch val unlockPremiumPatch = bytecodePatch( name = "Unlock premium", ) { - compatibleWith("com.adobe.lrmobile") + compatibleWith("com.adobe.lrmobile"("10.0.2")) execute { // Set hasPremium = true.