change spoof_build_vars path

This commit is contained in:
5ec1cff
2024-07-16 19:08:15 +08:00
parent 2e1eb0f12b
commit 60f940ca95
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ format:
## Build Vars Spoofing ## Build Vars Spoofing
If you can not pass strong integrity, you can try to enable build vars spoofing If you can not pass strong integrity, you can try to enable build vars spoofing
by creating a file in `/data/adb/modules/tricky_store/spoof_build_vars`. by creating a file in `/data/adb/tricky_store/spoof_build_vars`.
Zygisk (or Zygisk Next) is needed for this feature to work. Zygisk (or Zygisk Next) is needed for this feature to work.

View File

@@ -67,7 +67,7 @@ private:
}; };
static void companion_handler(int fd) { static void companion_handler(int fd) {
int enabled = access("/data/adb/modules/tricky_store/spoof_build_vars", F_OK) == 0; int enabled = access("/data/adb/tricky_store/spoof_build_vars", F_OK) == 0;
write(fd, &enabled, sizeof(enabled)); write(fd, &enabled, sizeof(enabled));
} }