mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-05-01 15:04:25 +02:00
Skip clearing install dir if not needed
This commit is contained in:
parent
7ab98dd5ac
commit
6ea740b5ab
@ -597,7 +597,9 @@ abstract class MagiskInstallImpl protected constructor(
|
|||||||
if (result)
|
if (result)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
Shell.cmd("rm -rf $installDir").submit()
|
// Not every operation initializes installDir
|
||||||
|
if (::installDir.isInitialized)
|
||||||
|
Shell.cmd("rm -rf $installDir").submit()
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user