mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-06-02 11:26:06 +02:00
fix:Output APK even when mounted
This commit is contained in:
parent
ff2e10dbe6
commit
1fdbfc7485
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user