Commit 48d417f9 authored by topjohnwu's avatar topjohnwu

Add symlink for backwards compatibility

The native code has to run with an old verison of Magisk Manager,
add this back so things will work properly.
parent df4db6bf
......@@ -351,6 +351,9 @@ static bool magisk_env() {
xmkdir(BBPATH, 0755);
xmkdir(MODULEMNT, 0755);
// Backwards compatibility for old Magisk Manager
xsymlink("./modules", MAGISKTMP "/img");
// Directories in /data/adb
xmkdir(DATABIN, 0755);
xmkdir(MODULEROOT, 0755);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment