mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 18:55:35 +08:00
Merge code
This commit is contained in:
@@ -98,8 +98,9 @@ class YukiHookCreater(private val packageParam: PackageParam, @PublishedApi inte
|
|||||||
* @throws IllegalStateException 如果必要参数没有被设置
|
* @throws IllegalStateException 如果必要参数没有被设置
|
||||||
* @return [Result]
|
* @return [Result]
|
||||||
*/
|
*/
|
||||||
|
@PublishedApi
|
||||||
@YukiPrivateApi
|
@YukiPrivateApi
|
||||||
fun hook(): Result {
|
internal fun hook(): Result {
|
||||||
if (YukiHookAPI.hasXposedBridge.not()) return Result()
|
if (YukiHookAPI.hasXposedBridge.not()) return Result()
|
||||||
return if (hookMembers.isEmpty()) error("Hook Members is empty, hook aborted")
|
return if (hookMembers.isEmpty()) error("Hook Members is empty, hook aborted")
|
||||||
else Result().also {
|
else Result().also {
|
||||||
|
Reference in New Issue
Block a user