mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
fix: spelling case problems
This commit is contained in:
@@ -333,7 +333,7 @@ Please confirm the correct return value type of the current Hook method, modify
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Hook initialization failed because got an Exception
|
Hook initialization failed because got an exception
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -349,7 +349,7 @@ This is a reminder that an exception occurred during the Hook preparation stage,
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Try to hook **NAME**\[**NAME**\] got an Exception
|
Try to hook **NAME**\[**NAME**\] got an exception
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -709,7 +709,7 @@ The current Hook Framework needs to support and enable the Resources Hook functi
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Resources Hook got an Exception \[**TAG**\]
|
Resources Hook got an exception \[**TAG**\]
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -897,7 +897,7 @@ If you must obtain the resources of the Module App itself, please use it directl
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Activity Proxy initialization failed because got an Exception
|
Activity Proxy initialization failed because got an exception
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -917,7 +917,7 @@ If you cannot find the description of the relevant error log, after eliminating
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Activity Proxy got an Exception in msg.what \[**WHAT**\]
|
Activity Proxy got an exception in msg.what \[**WHAT**\]
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@@ -317,7 +317,7 @@ method {
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Hook initialization failed because got an Exception
|
Hook initialization failed because got an exception
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -333,7 +333,7 @@ Hook initialization failed because got an Exception
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Try to hook **NAME**\[**NAME**\] got an Exception
|
Try to hook **NAME**\[**NAME**\] got an exception
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -677,7 +677,7 @@ Resources Hook type is invalid \[**TAG**\]
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Resources Hook got an Exception \[**TAG**\]
|
Resources Hook got an exception \[**TAG**\]
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -851,7 +851,7 @@ You cannot inject module resources into yourself
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Activity Proxy initialization failed because got an Exception
|
Activity Proxy initialization failed because got an exception
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -867,7 +867,7 @@ Activity Proxy initialization failed because got an Exception
|
|||||||
|
|
||||||
::: danger loggerE
|
::: danger loggerE
|
||||||
|
|
||||||
Activity Proxy got an Exception in msg.what \[**WHAT**\]
|
Activity Proxy got an exception in msg.what \[**WHAT**\]
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@@ -204,7 +204,7 @@ class YukiMemberHookCreator internal constructor(private val packageParam: Packa
|
|||||||
preHookMembers.forEach { (_, m) -> m.hook() }
|
preHookMembers.forEach { (_, m) -> m.hook() }
|
||||||
}.onFailure {
|
}.onFailure {
|
||||||
if (onHookClassNotFoundFailureCallback == null)
|
if (onHookClassNotFoundFailureCallback == null)
|
||||||
YLog.innerE(msg = "Hook initialization failed because got an Exception", e = it)
|
YLog.innerE(msg = "Hook initialization failed because got an exception", e = it)
|
||||||
else onHookClassNotFoundFailureCallback?.invoke(it)
|
else onHookClassNotFoundFailureCallback?.invoke(it)
|
||||||
}
|
}
|
||||||
isDisableCreatorRunHook.not() && hookClass.instance == null ->
|
isDisableCreatorRunHook.not() && hookClass.instance == null ->
|
||||||
@@ -703,8 +703,8 @@ class YukiMemberHookCreator internal constructor(private val packageParam: Packa
|
|||||||
*/
|
*/
|
||||||
private fun hookErrorMsg(e: Throwable, member: Member? = null) =
|
private fun hookErrorMsg(e: Throwable, member: Member? = null) =
|
||||||
if (hookClass.isPlaceholder)
|
if (hookClass.isPlaceholder)
|
||||||
YLog.innerE("Try to hook ${member?.let { "[$it]" } ?: "nothing"} got an Exception", e)
|
YLog.innerE("Try to hook ${member?.let { "[$it]" } ?: "nothing"} got an exception", e)
|
||||||
else YLog.innerE("Try to hook [${hookClass.instance ?: hookClass.name}]${member?.let { "[$it]" } ?: ""} got an Exception", e)
|
else YLog.innerE("Try to hook [${hookClass.instance ?: hookClass.name}]${member?.let { "[$it]" } ?: ""} got an exception", e)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 判断是否没有设置 Hook 过程中的任何异常拦截
|
* 判断是否没有设置 Hook 过程中的任何异常拦截
|
||||||
|
@@ -265,7 +265,7 @@ class YukiResourcesHookCreator internal constructor(internal val packageParam: P
|
|||||||
}
|
}
|
||||||
}.onFailure {
|
}.onFailure {
|
||||||
if (onHookFailureCallback == null)
|
if (onHookFailureCallback == null)
|
||||||
YLog.innerE("Resources Hook got an Exception [$tag]", it)
|
YLog.innerE("Resources Hook got an exception [$tag]", it)
|
||||||
else onHookFailureCallback?.invoke(it)
|
else onHookFailureCallback?.invoke(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -442,7 +442,7 @@ internal object AppParasitics {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
isActivityProxyRegistered = true
|
isActivityProxyRegistered = true
|
||||||
}.onFailure { YLog.innerE("Activity Proxy initialization failed because got an Exception", it) }
|
}.onFailure { YLog.innerE("Activity Proxy initialization failed because got an exception", it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -76,7 +76,7 @@ internal object HandlerDelegateCaller {
|
|||||||
set(intent.getParcelableExtra(ActivityProxyConfig.proxyIntentName))
|
set(intent.getParcelableExtra(ActivityProxyConfig.proxyIntentName))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}.onFailure { YLog.innerE("Activity Proxy got an Exception in msg.what [$LAUNCH_ACTIVITY]", it) }
|
}.onFailure { YLog.innerE("Activity Proxy got an exception in msg.what [$LAUNCH_ACTIVITY]", it) }
|
||||||
EXECUTE_TRANSACTION -> msg.obj?.runCatching client@{
|
EXECUTE_TRANSACTION -> msg.obj?.runCatching client@{
|
||||||
ClientTransactionClass.method { name = "getCallbacks" }.ignored().get(this).list<Any?>().takeIf { it.isNotEmpty() }
|
ClientTransactionClass.method { name = "getCallbacks" }.ignored().get(this).list<Any?>().takeIf { it.isNotEmpty() }
|
||||||
?.forEach { item ->
|
?.forEach { item ->
|
||||||
@@ -100,7 +100,7 @@ internal object HandlerDelegateCaller {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}?.onFailure { YLog.innerE("Activity Proxy got an Exception in msg.what [$EXECUTE_TRANSACTION]", it) }
|
}?.onFailure { YLog.innerE("Activity Proxy got an exception in msg.what [$EXECUTE_TRANSACTION]", it) }
|
||||||
}
|
}
|
||||||
return baseInstance?.handleMessage(msg) ?: false
|
return baseInstance?.handleMessage(msg) ?: false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user