diff --git a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt index 323e29d..a6c5ccf 100644 --- a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt @@ -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