mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 02:35:40 +08:00
...
This commit is contained in:
@@ -50,8 +50,10 @@ class MainInjecter : YukiHookXposedInitProxy {
|
||||
|
||||
override fun onHook() {
|
||||
// 设置模式
|
||||
YukiHookAPI.debugTag = "YukiSuki"
|
||||
YukiHookAPI.isDebug = true
|
||||
YukiHookAPI.configs {
|
||||
debugTag = "YukiSuki"
|
||||
isDebug = true
|
||||
}
|
||||
// 方案 1
|
||||
// encase(MainHooker(), SecondHooker())
|
||||
// 方案 2
|
||||
@@ -81,7 +83,7 @@ class MainInjecter : YukiHookXposedInitProxy {
|
||||
method {
|
||||
name = "a"
|
||||
param(StringType, StringType)
|
||||
returnType = UnitType
|
||||
returnType = StringType
|
||||
}
|
||||
beforeHook {
|
||||
args(index = 0).set("✌️改了前面的")
|
||||
|
Reference in New Issue
Block a user