Always use mirror path

This commit is contained in:
vvb2060 2021-04-22 00:48:59 +08:00 committed by John Wu
parent 11c882380f
commit 708fe514f8

View File

@ -549,7 +549,7 @@ void magic_mount() {
LOGI("* Loading modules\n"); LOGI("* Loading modules\n");
for (const auto &m : module_list) { for (const auto &m : module_list) {
auto module = m.data(); 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 // Read props
strcpy(b, "system.prop"); strcpy(b, "system.prop");