mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 16:33:37 +00:00
Updated flash location so it's one layer deeper preventing accidental cache deletion
This commit is contained in:
parent
5875ced367
commit
452db51669
@ -21,7 +21,10 @@ abstract class FlashZip(
|
||||
) {
|
||||
|
||||
private val app: App by inject()
|
||||
private val tmpFile: File = File(app.cacheDir, "install.zip")
|
||||
private val installFolder = File(app.cacheDir, "flash").apply {
|
||||
if (!exists()) mkdirs()
|
||||
}
|
||||
private val tmpFile: File = File(installFolder, "install.zip")
|
||||
|
||||
@Throws(IOException::class)
|
||||
private fun unzipAndCheck(): Boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user