fix: delete outputFile after deploying

This commit is contained in:
oSumAtrIX 2022-05-22 22:38:27 +02:00 committed by GitHub
parent fb1cd41521
commit 329f8a383f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,11 +87,10 @@ internal object MainCommand : Runnable {
Patcher.start(patcher)
if (clean) {
File(cacheDirectory).deleteRecursively()
outputFile.delete()
}
if (clean) File(cacheDirectory).deleteRecursively()
adb?.deploy()
if (clean) outputFile.delete()
}
}