mirror of
https://github.com/ovrport/app.git
synced 2026-10-27 03:19:56 -04:00
fix: Improve patching reliability
This commit is contained in:
1 parent
16a28afa0a
commit
8f9bc659e0
1 file changed
+1
@@ -139,6 +139,7 @@ fun PatcherContext.patch(patches: List<Patch>) {
|
|||||||
.parentFile
|
.parentFile
|
||||||
?.resolve(outputApk.name + ".temp")
|
?.resolve(outputApk.name + ".temp")
|
||||||
?.let {
|
?.let {
|
||||||
|
it.delete()
|
||||||
outputApk.copyTo(it)
|
outputApk.copyTo(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user