mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 02:07:09 +00:00
Skip clearing install dir if not needed
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user