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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ internal object MainCommand : Runnable {
Adb(outputFile, patcher.data.packageMetadata.packageName, args.deploy!!, !args.mount) 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") File(args.cacheDirectory).resolve("${outputFile.nameWithoutExtension}_raw.apk")
} else outputFile } else outputFile