Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Fix typos
This commit is contained in:
1 parent
bbf57712e0
commit
f2a09b4bca
2 files changed
+5
-5
No files matched your search
@@ -1,7 +1,7 @@
|
||||
extension {
|
||||
name = "extensions/extension.rve"
|
||||
name = "extensions/extension.mpe"
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "app.revanced.extension"
|
||||
namespace = "app.template.extension"
|
||||
}
|
||||
@@ -4,7 +4,7 @@ import app.morphe.patcher.extensions.InstructionExtensions.addInstructions
|
||||
import app.morphe.patcher.patch.bytecodePatch
|
||||
import app.template.patches.shared.Constants.COMPATIBILITY_EXAMPLE
|
||||
|
||||
private const val EXTENSION_CLASS_DESCRIPTOR = "Lapp/template/extension/ExamplePatch;"
|
||||
private const val EXTENSION_CLASS = "Lapp/template/extension/ExamplePatch;"
|
||||
|
||||
@Suppress("unused")
|
||||
val examplePatch = bytecodePatch(
|
||||
@@ -14,14 +14,14 @@ val examplePatch = bytecodePatch(
|
||||
) {
|
||||
compatibleWith(COMPATIBILITY_EXAMPLE)
|
||||
|
||||
extendWith("extensions/extension.mpp")
|
||||
extendWith("extensions/extension.mpe")
|
||||
|
||||
// Business logic of the patch to disable ads in the app.
|
||||
execute {
|
||||
AdLoaderFingerprint.method.addInstructions(
|
||||
0,
|
||||
"""
|
||||
invoke-static {}, $EXTENSION_CLASS_DESCRIPTOR;->showAds()Z
|
||||
invoke-static {}, $EXTENSION_CLASS;->showAds()Z
|
||||
move-result v0
|
||||
return v0
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user