File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/kotlin/app/revanced/patches/vsco/misc/pro Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11package app.revanced.patches.vsco.misc.pro
22
3- import app.revanced.util.exception
43import app.revanced.patcher.data.BytecodeContext
54import app.revanced.patcher.extensions.InstructionExtensions.addInstruction
65import app.revanced.patcher.patch.BytecodePatch
76import app.revanced.patcher.patch.annotation.CompatiblePackage
87import app.revanced.patcher.patch.annotation.Patch
98import app.revanced.patches.vsco.misc.pro.fingerprints.RevCatSubscriptionFingerprint
9+ import app.revanced.util.exception
1010
1111@Patch(
1212 name = " Unlock pro" ,
1313 description = " Unlocks pro features." ,
14- compatiblePackages = [CompatiblePackage (" com.vsco.cam" )]
14+ compatiblePackages = [CompatiblePackage (" com.vsco.cam" , [ " 345 " ])],
1515)
1616object UnlockProPatch : BytecodePatch(
17- setOf(RevCatSubscriptionFingerprint )
17+ setOf(RevCatSubscriptionFingerprint ),
1818) {
1919 override fun execute (context : BytecodeContext ) {
2020 RevCatSubscriptionFingerprint .result?.mutableMethod?.apply {
@@ -23,7 +23,7 @@ object UnlockProPatch : BytecodePatch(
2323 0 ,
2424 """
2525 const p1, 0x1
26- """
26+ """ ,
2727 )
2828 } ? : throw RevCatSubscriptionFingerprint .exception
2929 }
You can’t perform that action at this time.
0 commit comments