Added Zygisk hide for 27.0 and renamed unmount.cpp

This commit is contained in:
snake-4
2024-04-24 07:44:00 +02:00
parent 71eee6bf92
commit e03060eb22
5 changed files with 61 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
#include <unistd.h>
#include <sched.h>
#include <sys/mount.h>
#include <grp.h>
#include <cstdint>
#include <functional>
@@ -9,14 +8,12 @@
#include "zygisk.hpp"
#include "logging.hpp"
#include "utils.hpp"
#include "modules.hpp"
using zygisk::Api;
using zygisk::AppSpecializeArgs;
using zygisk::ServerSpecializeArgs;
void doUnmount();
void doRemount();
static std::function<void()> callbackFunction = []() {};
/*
@@ -121,6 +118,8 @@ public:
doRemount();
}
doHideZygisk();
// Call only once per process.
callbackFunction = []() {};
};