mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
feat: update demo
This commit is contained in:
@@ -147,6 +147,9 @@ object HookEntry : IYukiHookXposedInit {
|
|||||||
// Find Class to hook
|
// Find Class to hook
|
||||||
// 得到需要 Hook 的 Class
|
// 得到需要 Hook 的 Class
|
||||||
Activity::class.resolve()
|
Activity::class.resolve()
|
||||||
|
// 由于 Activity 的方法比较多,演示的时候将其静音防止刷爆日志
|
||||||
|
// Since there are many methods in Activity, it is muted during the demo to prevent flooding the log
|
||||||
|
.optional(silent = true)
|
||||||
.firstMethod {
|
.firstMethod {
|
||||||
name = "onCreate"
|
name = "onCreate"
|
||||||
parameters(Bundle::class)
|
parameters(Bundle::class)
|
||||||
|
Reference in New Issue
Block a user