Commit 452db516 authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Updated flash location so it's one layer deeper preventing accidental cache deletion

parent 5875ced3
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment