This commit is contained in:
2022-02-04 01:44:03 +08:00
parent a03fefa879
commit 341bfd8cdb
2 changed files with 12 additions and 12 deletions

View File

@@ -45,6 +45,7 @@ class MainHooker : YukiBaseHooker() {
method {
name = "onCreate"
param(BundleClass)
}
beforeHook {
field {
name = "a"
@@ -52,7 +53,6 @@ class MainHooker : YukiBaseHooker() {
}.set(instance, "这段文字被修改成功了")
}
}
}
injectMember {
method {
name = "test"

View File

@@ -57,6 +57,7 @@ class MainInjecter : YukiHookXposedInitProxy {
method {
name = "onCreate"
param(BundleClass)
}
beforeHook {
field {
name = "a"
@@ -64,7 +65,6 @@ class MainInjecter : YukiHookXposedInitProxy {
}.set(instance, "这段文字被修改成功了")
}
}
}
injectMember {
method {
name = "test"