mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 19:28:29 +00:00
Riru and its modules are not compatible with zygisk
This commit is contained in:
parent
5561cd3c77
commit
73d36fdff0
@ -688,8 +688,15 @@ static void collect_modules() {
|
||||
return;
|
||||
}
|
||||
unlinkat(modfd, "update", 0);
|
||||
if (faccessat(modfd, "disable", F_OK, 0) != 0)
|
||||
module_list.emplace_back(entry->d_name);
|
||||
if (faccessat(modfd, "disable", F_OK, 0) == 0)
|
||||
return;
|
||||
// Riru and its modules are not compatible with zygisk
|
||||
if (zygisk_enabled && (
|
||||
entry->d_name == "riru-core"sv ||
|
||||
faccessat(modfd, "riru", F_OK, 0) == 0))
|
||||
return;
|
||||
|
||||
module_list.emplace_back(entry->d_name);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user