mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-21 15:05:28 +00:00
set MAGISKTMP
This commit is contained in:
parent
278046becb
commit
2d341863f5
@ -222,6 +222,7 @@ void install_module(const char *file) {
|
||||
setenv("OUTFD", "1", 1);
|
||||
setenv("ZIPFILE", zip, 1);
|
||||
setenv("ASH_STANDALONE", "1", 1);
|
||||
setenv("MAGISKTMP", get_magisk_tmp(), 0);
|
||||
free(zip);
|
||||
|
||||
int fd = xopen("/dev/null", O_RDONLY);
|
||||
|
Loading…
Reference in New Issue
Block a user