You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: APatch missing in GetInfo daemon action
This commit fixes the missing APatch root implementation detection in "GetInfo" daemon action, causing it to return none.
This commit is contained in:
@@ -275,6 +275,7 @@ fn handle_daemon_action(
|
|||||||
match root_impl::get_impl() {
|
match root_impl::get_impl() {
|
||||||
root_impl::RootImpl::KernelSU => flags |= ProcessFlags::PROCESS_ROOT_IS_KSU,
|
root_impl::RootImpl::KernelSU => flags |= ProcessFlags::PROCESS_ROOT_IS_KSU,
|
||||||
root_impl::RootImpl::Magisk => flags |= ProcessFlags::PROCESS_ROOT_IS_MAGISK,
|
root_impl::RootImpl::Magisk => flags |= ProcessFlags::PROCESS_ROOT_IS_MAGISK,
|
||||||
|
root_impl::RootImpl::APatch => flags |= ProcessFlags::PROCESS_ROOT_IS_APATCH,
|
||||||
_ => panic!("wrong root impl: {:?}", root_impl::get_impl()),
|
_ => panic!("wrong root impl: {:?}", root_impl::get_impl()),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user