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,12 +45,12 @@ class MainHooker : YukiBaseHooker() {
method {
name = "onCreate"
param(BundleClass)
beforeHook {
field {
name = "a"
type = StringType
}.set(instance, "这段文字被修改成功了")
}
}
beforeHook {
field {
name = "a"
type = StringType
}.set(instance, "这段文字被修改成功了")
}
}
injectMember {

View File

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