fix: wrong variable inverted

This commit is contained in:
Sculas
2022-06-22 11:49:15 +02:00
committed by GitHub
parent 6f54af5963
commit f694542d64

View File

@ -99,7 +99,7 @@ internal object MainCommand : Runnable {
Adb(outputFile, patcher.data.packageMetadata.packageName, args.deploy!!, !args.mount)
}
val patchedFile = if (args.mount) {
val patchedFile = if (!args.mount) {
File(args.cacheDirectory).resolve("${outputFile.nameWithoutExtension}_raw.apk")
} else outputFile