Add version info to logs

This commit is contained in:
5ec1cff
2023-12-11 11:38:25 +08:00
parent a88d7a5bb8
commit 0e2bc75966
9 changed files with 31 additions and 5 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ void *self_handle = nullptr;
extern "C" [[gnu::visibility("default")]]
void entry(void* handle, const char* path) {
LOGI("Zygisk library injected, magic %s", path);
LOGI("Zygisk library injected, version %s", ZKSU_VERSION);
self_handle = handle;
zygiskd::Init(path);
@@ -22,6 +22,6 @@ void entry(void* handle, const char* path) {
logging::setfd(zygiskd::RequestLogcatFd());
#endif
LOGD("Start hooking");
LOGI("Start hooking");
hook_functions();
}