Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-11-30 23:09: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
@@ -10,9 +10,8 @@ body:
|
||||
|
||||
Before creating a new bug report, please keep the following in mind:
|
||||
|
||||
- **Do not submit a duplicate bug report**: Search for existing bug reports [here](https://github.com/MorpheApp/morphe-patches-template/issues?q=label%3A%22Bug+report%22).
|
||||
- **Review the contribution guidelines**: Make sure your bug report adheres to it. You can find the guidelines [here](https://github.com/MorpheApp/morphe-patches-template/blob/main/CONTRIBUTING.md).
|
||||
- **Do not use the issue page for support**: If you need help or have questions, check out other platforms on [morphe.software](https://morphe.software).
|
||||
- **Do not submit a duplicate bug report**: Search for existing bug reports [here](https://github.com/TEMPLATE/template-patches-template/issues?q=label%3A%22Bug+report%22).
|
||||
- **Review the contribution guidelines**: Make sure your bug report adheres to it. You can find the guidelines [here](https://github.com/TEMPLATE/template-patches-template/blob/main/CONTRIBUTING.md).
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Bug description
|
||||
|
||||
@@ -6,12 +6,12 @@ body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Morphe Patches template feature request
|
||||
# Template Patches template feature request
|
||||
|
||||
Before creating a new feature request, please keep the following in mind:
|
||||
|
||||
- **Do not submit a duplicate feature request**: Search for existing feature requests [here](https://github.com/MorpheApp/morpheApp-patches-template/issues?q=label%3A%22Feature+request%22).
|
||||
- **Review the contribution guidelines**: Make sure your feature request adheres to it. You can find the guidelines [here](https://github.com/MorpheApp/morpheApp-patches-template/blob/main/CONTRIBUTING.md).
|
||||
- **Do not submit a duplicate feature request**: Search for existing feature requests [here](https://github.com/TEMPlATE/TEMPLATE-patches-template/issues?q=label%3A%22Feature+request%22).
|
||||
- **Review the contribution guidelines**: Make sure your feature request adheres to it. You can find the guidelines [here](https://github.com/TEMPLATE/TEMPLATE-patches-template/blob/main/CONTRIBUTING.md).
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Feature description
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package app.morphe.extension;
|
||||
package app.template.extension.extension;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class ExamplePatch {
|
||||
@@ -1,8 +0,0 @@
|
||||
public final class app/morphe/patches/example/ExamplePatchKt {
|
||||
public static final fun getExamplePatch ()Lapp/morphe/patcher/patch/BytecodePatch;
|
||||
}
|
||||
|
||||
public final class app/morphe/util/PatchListGeneratorKt {
|
||||
public static synthetic fun main ([Ljava/lang/String;)V
|
||||
}
|
||||
|
||||
+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