Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Merge branch dev to main (#13)
This commit is contained in:
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:
|
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).
|
- **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/MorpheApp/morphe-patches-template/blob/main/CONTRIBUTING.md).
|
- **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).
|
||||||
- **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).
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Bug description
|
label: Bug description
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ body:
|
|||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
# Morphe Patches template feature request
|
# Template Patches template feature request
|
||||||
|
|
||||||
Before creating a new feature request, please keep the following in mind:
|
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).
|
- **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/MorpheApp/morpheApp-patches-template/blob/main/CONTRIBUTING.md).
|
- **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
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Feature description
|
label: Feature description
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package app.morphe.extension;
|
package app.template.extension.extension;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
public class ExamplePatch {
|
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.extensions.InstructionExtensions.addInstructions
|
||||||
import app.morphe.patcher.patch.bytecodePatch
|
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")
|
@Suppress("unused")
|
||||||
val examplePatch = bytecodePatch(
|
val examplePatch = bytecodePatch(
|
||||||
@@ -12,7 +12,7 @@ val examplePatch = bytecodePatch(
|
|||||||
) {
|
) {
|
||||||
compatibleWith("com.example.app"("1.0.0"))
|
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.
|
// Business logic of the patch to disable ads in the app.
|
||||||
execute {
|
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.Fingerprint
|
||||||
import app.morphe.patcher.InstructionLocation.*
|
import app.morphe.patcher.InstructionLocation.*
|
||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
* applicable to this file.
|
* applicable to this file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package app.morphe.util
|
package app.template.util
|
||||||
|
|
||||||
import app.morphe.patcher.patch.Patch
|
import app.morphe.patcher.patch.Patch
|
||||||
import app.morphe.patcher.patch.loadPatchesFromJar
|
import app.morphe.patcher.patch.loadPatchesFromJar
|
||||||
Reference in new issue
Block a user