mirror of
https://github.com/ReVanced/revanced-patches-template.git
synced 2026-01-11 13:56:18 +00:00
feat: Init
This commit is contained in:
20
src/main/kotlin/your/org/patches/example/ExamplePatch.kt
Normal file
20
src/main/kotlin/your/org/patches/example/ExamplePatch.kt
Normal file
@@ -0,0 +1,20 @@
|
||||
package your.org.patches.example
|
||||
|
||||
import app.revanced.patcher.data.BytecodeContext
|
||||
import app.revanced.patcher.patch.BytecodePatch
|
||||
import app.revanced.patcher.patch.annotation.CompatiblePackage
|
||||
import app.revanced.patcher.patch.annotation.Patch
|
||||
|
||||
@Patch(
|
||||
name = "Example Patch",
|
||||
description = "This is an example patch to start with.",
|
||||
compatiblePackages = [
|
||||
CompatiblePackage("com.example.app", ["1.0.0"]),
|
||||
],
|
||||
)
|
||||
@Suppress("unused")
|
||||
object ExamplePatch : BytecodePatch() {
|
||||
override fun execute(context: BytecodeContext) {
|
||||
// TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user