Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Change template packages to template naming
This commit is contained in:
1 parent
6551d39a3d
commit
0fac28586e
7 files changed
+11
-20
No files matched your search
+3
-3
@@ -1,9 +1,9 @@
|
||||
package app.morphe.patches.example
|
||||
package app.template.patches.example
|
||||
|
||||
import app.morphe.patcher.extensions.InstructionExtensions.addInstructions
|
||||
import app.morphe.patcher.patch.bytecodePatch
|
||||
|
||||
private const val EXTENSION_CLASS_DESCRIPTOR = "Lapp/morphe/extension/ExamplePatch;"
|
||||
private const val EXTENSION_CLASS_DESCRIPTOR = "Lapp/template/extension/ExamplePatch;"
|
||||
|
||||
@Suppress("unused")
|
||||
val examplePatch = bytecodePatch(
|
||||
@@ -12,7 +12,7 @@ val examplePatch = bytecodePatch(
|
||||
) {
|
||||
compatibleWith("com.example.app"("1.0.0"))
|
||||
|
||||
extendWith("extensions/extension.rve")
|
||||
extendWith("extensions/extension.mpp")
|
||||
|
||||
// Business logic of the patch to disable ads in the app.
|
||||
execute {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package app.morphe.patches.example
|
||||
package app.template.patches.example
|
||||
|
||||
import app.morphe.patcher.Fingerprint
|
||||
import app.morphe.patcher.InstructionLocation.*
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* applicable to this file.
|
||||
*/
|
||||
|
||||
package app.morphe.util
|
||||
package app.template.util
|
||||
|
||||
import app.morphe.patcher.patch.Patch
|
||||
import app.morphe.patcher.patch.loadPatchesFromJar
|
||||
Reference in new issue
Block a user