1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-14 22:28:37 +01:00

core: clean up /data/adb/magisk.img, etc. as well

- now that magisk.img -> /data/adb/modules migration is no longer taking place make sure all magisk.img locations get cleaned up
This commit is contained in:
Chris Renshaw 2020-03-23 20:24:18 -03:00 committed by John Wu
parent 2a93d1c652
commit aa72a080b0

View File

@ -342,7 +342,10 @@ static bool magisk_env() {
// Remove stuffs
rm_rf("/cache/data_adb");
rm_rf("/data/adb/modules/.core");
unlink("/data/adb/magisk.img");
unlink("/data/adb/magisk_merge.img");
unlink("/data/magisk.img");
unlink("/data/magisk_merge.img");
unlink("/data/magisk_debug.log");
// Directories in tmpfs overlay