refactor: write cache files with proper names

This commit is contained in:
oSumAtrIX
2022-06-11 20:02:03 +02:00
parent 22d2535af8
commit cf1d512f4b
2 changed files with 3 additions and 3 deletions

View File

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