extract both 64 and 32

This commit is contained in:
5ec1cff
2024-01-02 11:13:52 +08:00
parent 8463574e2d
commit 914c54cdd0
3 changed files with 13 additions and 27 deletions

View File

@@ -299,7 +299,7 @@ static bool ensure_daemon_created(bool is_64bit) {
PLOGE("create daemon (64=%s)", is_64bit ? "true" : "false");
return false;
} else if (pid == 0) {
std::string daemon_name = "./bin/zygisk-cp";
std::string daemon_name = "./bin/zygiskd";
daemon_name += is_64bit ? "64" : "32";
execl(daemon_name.c_str(), daemon_name.c_str(), nullptr);
PLOGE("exec daemon %s failed", daemon_name.c_str());