fix:Output APK even when mounted

This commit is contained in:
8cAyqpVKio 2023-10-06 12:37:43 +09:00
parent ff2e10dbe6
commit 1fdbfc7485

View File

@ -17,6 +17,7 @@ import java.io.File
import java.io.PrintWriter
import java.io.StringWriter
import java.util.logging.Logger
import kotlin.io.path.deleteIfExists
@CommandLine.Command(
@ -254,6 +255,10 @@ internal object PatchCommand : Runnable {
signer
)
)
else {
outputFilePath.toPath().deleteIfExists()
tempFile.copyTo(outputFilePath)
}
// endregion