mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-21 23:47:39 +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…
x
Reference in New Issue
Block a user