Commit 73d36fdf authored by topjohnwu's avatar topjohnwu

Riru and its modules are not compatible with zygisk

parent 5561cd3c
......@@ -688,7 +688,14 @@ static void collect_modules() {
return;
}
unlinkat(modfd, "update", 0);
if (faccessat(modfd, "disable", F_OK, 0) != 0)
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);
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment