Skip to content

Commit

Permalink
feat(patch): bump compatibility (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
badawoll committed May 3, 2023
1 parent bcfdc78 commit f86836d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ package app.revanced.patches.memegenerator.misc.pro.annotations
import app.revanced.patcher.annotation.Compatibility
import app.revanced.patcher.annotation.Package

@Compatibility([Package("com.zombodroid.MemeGenerator", arrayOf("4.6364"))])
@Compatibility(
[Package(
"com.zombodroid.MemeGenerator", arrayOf(
"4.6364",
"4.6370",
"4.6375",
"4.6377",
)
)]
)
@Target(AnnotationTarget.CLASS)
internal annotation class UnlockProCompatibility

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package app.revanced.patches.photomath.misc.unlockplus.patch

import app.revanced.extensions.toErrorResult
import app.revanced.patcher.annotation.Compatibility
import app.revanced.patcher.annotation.Description
import app.revanced.patcher.annotation.Name
import app.revanced.patcher.annotation.Package
import app.revanced.patcher.annotation.Version
import app.revanced.patcher.data.BytecodeContext
import app.revanced.patcher.extensions.addInstructions
Expand All @@ -12,14 +14,13 @@ import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.patch.annotations.Patch
import app.revanced.patches.photomath.detection.signature.patch.SignatureDetectionPatch
import app.revanced.patches.photomath.misc.unlockplus.annotations.UnlockPlusCompatibilty
import app.revanced.patches.photomath.misc.unlockplus.fingerprints.IsPlusUnlockedFingerprint

@Patch
@Name("unlock-plus")
@DependsOn([SignatureDetectionPatch::class])
@Description("Unlocks plus features.")
@UnlockPlusCompatibilty
@Compatibility([Package("com.microblink.photomath")])
@Version("0.0.1")
class UnlockPlusPatch : BytecodePatch(
listOf(
Expand All @@ -40,4 +41,4 @@ class UnlockPlusPatch : BytecodePatch(
return PatchResultSuccess()
}

}
}

0 comments on commit f86836d

Please sign in to comment.