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 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)
|
@Throws(IOException::class)
|
||||||
private fun unzipAndCheck(): Boolean {
|
private fun unzipAndCheck(): Boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user