mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-27 12:37:39 +00:00
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.
This commit is contained in:
parent
df4db6bf6b
commit
48d417f9af
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user