Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Initial commit of code state from https://github.com/ReVanced/revanced-patches-template/commit/bd4b564fc0fc8f7ade8dcd41eb4aaaf59adad6ae
This commit is contained in:
commit
7f1144a565
30 files changed
+8782
No files matched your search
@@ -0,0 +1,4 @@
|
||||
public final class app/morphe/patches/example/ExamplePatchKt {
|
||||
public static final fun getExamplePatch ()Lapp/morphe/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
group = "app.morphe"
|
||||
|
||||
patches {
|
||||
about {
|
||||
name = "Morphe Patches template"
|
||||
description = "Patches template for Morphe"
|
||||
source = "[email protected]:MorpheApp/morphe-patches-template.git"
|
||||
author = "Morphe"
|
||||
contact = "[email protected]"
|
||||
website = "https://morphe.software"
|
||||
license = "Additional conditions under GPL section 7 apply: attribution and project name restrictions. See LICENSE file."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package app.morphe.patches.example
|
||||
|
||||
import app.morphe.patcher.patch.bytecodePatch
|
||||
|
||||
@Suppress("unused")
|
||||
val examplePatch = bytecodePatch(
|
||||
name = "Example Patch",
|
||||
description = "This is an example patch to start with.",
|
||||
) {
|
||||
compatibleWith("com.example.app"("1.0.0"))
|
||||
|
||||
extendWith("extensions/extension.rve")
|
||||
|
||||
execute {
|
||||
// TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user