feat(patch): bump compatibility (#2060)
This commit is contained in:
parent
bcfdc7897f
commit
f86836d629
|
@ -3,6 +3,15 @@ package app.revanced.patches.memegenerator.misc.pro.annotations
|
||||||
import app.revanced.patcher.annotation.Compatibility
|
import app.revanced.patcher.annotation.Compatibility
|
||||||
import app.revanced.patcher.annotation.Package
|
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)
|
@Target(AnnotationTarget.CLASS)
|
||||||
internal annotation class UnlockProCompatibility
|
internal annotation class UnlockProCompatibility
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
package app.revanced.patches.photomath.misc.unlockplus.annotations
|
|
||||||
|
|
||||||
import app.revanced.patcher.annotation.Compatibility
|
|
||||||
import app.revanced.patcher.annotation.Package
|
|
||||||
|
|
||||||
@Compatibility(
|
|
||||||
[Package(
|
|
||||||
"com.microblink.photomath", arrayOf(
|
|
||||||
"8.6.0",
|
|
||||||
"8.7.0",
|
|
||||||
"8.8.0",
|
|
||||||
"8.9.0",
|
|
||||||
"8.10.0",
|
|
||||||
"8.11.0",
|
|
||||||
"8.12.0",
|
|
||||||
"8.13.0",
|
|
||||||
"8.14.0",
|
|
||||||
"8.15.0",
|
|
||||||
"8.16.0",
|
|
||||||
"8.17.0",
|
|
||||||
"8.18.0",
|
|
||||||
"8.18.1",
|
|
||||||
"8.19.0",
|
|
||||||
"8.20.0",
|
|
||||||
"8.21.0",
|
|
||||||
)
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
@Target(AnnotationTarget.CLASS)
|
|
||||||
internal annotation class UnlockPlusCompatibilty
|
|
|
@ -1,8 +1,10 @@
|
||||||
package app.revanced.patches.photomath.misc.unlockplus.patch
|
package app.revanced.patches.photomath.misc.unlockplus.patch
|
||||||
|
|
||||||
import app.revanced.extensions.toErrorResult
|
import app.revanced.extensions.toErrorResult
|
||||||
|
import app.revanced.patcher.annotation.Compatibility
|
||||||
import app.revanced.patcher.annotation.Description
|
import app.revanced.patcher.annotation.Description
|
||||||
import app.revanced.patcher.annotation.Name
|
import app.revanced.patcher.annotation.Name
|
||||||
|
import app.revanced.patcher.annotation.Package
|
||||||
import app.revanced.patcher.annotation.Version
|
import app.revanced.patcher.annotation.Version
|
||||||
import app.revanced.patcher.data.BytecodeContext
|
import app.revanced.patcher.data.BytecodeContext
|
||||||
import app.revanced.patcher.extensions.addInstructions
|
import app.revanced.patcher.extensions.addInstructions
|
||||||
|
@ -12,14 +14,13 @@ import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
import app.revanced.patcher.patch.annotations.Patch
|
import app.revanced.patcher.patch.annotations.Patch
|
||||||
import app.revanced.patches.photomath.detection.signature.patch.SignatureDetectionPatch
|
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
|
import app.revanced.patches.photomath.misc.unlockplus.fingerprints.IsPlusUnlockedFingerprint
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@Name("unlock-plus")
|
@Name("unlock-plus")
|
||||||
@DependsOn([SignatureDetectionPatch::class])
|
@DependsOn([SignatureDetectionPatch::class])
|
||||||
@Description("Unlocks plus features.")
|
@Description("Unlocks plus features.")
|
||||||
@UnlockPlusCompatibilty
|
@Compatibility([Package("com.microblink.photomath")])
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class UnlockPlusPatch : BytecodePatch(
|
class UnlockPlusPatch : BytecodePatch(
|
||||||
listOf(
|
listOf(
|
||||||
|
@ -40,4 +41,4 @@ class UnlockPlusPatch : BytecodePatch(
|
||||||
return PatchResultSuccess()
|
return PatchResultSuccess()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue