fix: ReZygisk break after first boot

This commit fixes the issue where ReZygisk would break after rebooting after first boot after flash.
This commit is contained in:
ThePedroo
2024-07-01 00:48:39 -03:00
parent 7399ae417d
commit f68385be5d
2 changed files with 4 additions and 4 deletions

View File

@@ -4,10 +4,6 @@
#include "utils.hpp"
#include "daemon.h"
#define CUSTOM_TMP_PATH 0
#define SBIN_AS_TMP_PATH 1
#define DEBUG_RAMDISK_AS_TMP_PATH 2
int main(int argc, char **argv) {
zygiskd::Init("/data/adb/rezygisk");

View File

@@ -28,6 +28,10 @@ create_sys_perm() {
export TMP_PATH=/data/adb/rezygisk
if [ -d $TMP_PATH ]; then
rm -rf $TMP_PATH
fi
create_sys_perm $TMP_PATH
if [ -f $MODDIR/lib64/libzygisk.so ];then