Skip to content

Commit

Permalink
fix hookmanager assert fail (#6119)
Browse files Browse the repository at this point in the history
* fix assert fail

* Exclude the arm64 arch
  • Loading branch information
cngege authored Jan 3, 2025
1 parent 128b1b2 commit 8ca1779
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/h/hookmanager/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ package("hookmanager")

if on_check then
on_check(function (package)
assert(package:is_arch("x86") and package:config("lighthook"),"package(hookmanager) LightHook does not support the X86 architecture.")
assert(not package:is_arch("arm64"),"package(hookmanager) The arm64 architecture is not currently supported.")
assert(not (package:is_arch("x86") and package:config("lighthook")),"package(hookmanager) LightHook does not support the X86 architecture.")
end)
end

Expand Down

0 comments on commit 8ca1779

Please sign in to comment.