From 708fe514f8cc0162e68e721432c125f974116c71 Mon Sep 17 00:00:00 2001 From: vvb2060 Date: Thu, 22 Apr 2021 00:48:59 +0800 Subject: [PATCH] Always use mirror path --- native/jni/core/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/core/module.cpp b/native/jni/core/module.cpp index 1373ad0dc..5b1c17999 100644 --- a/native/jni/core/module.cpp +++ b/native/jni/core/module.cpp @@ -549,7 +549,7 @@ void magic_mount() { LOGI("* Loading modules\n"); for (const auto &m : module_list) { auto module = m.data(); - char *b = buf + sprintf(buf, MODULEROOT "/%s/", module); + char *b = buf + sprintf(buf, "%s/" MODULEMNT "/%s/", MAGISKTMP.data(), module); // Read props strcpy(b, "system.prop");