Commit 7994a7c1 authored by Adrien's avatar Adrien

specy unzip directory

parent 2f4e9a00
......@@ -84,7 +84,7 @@ class MacCodeSign {
fun unzip(zipFile: File) : File {
ProcessBuilder()
.command("unzip", zipFile.canonicalPath)
.command("unzip", zipFile.canonicalPath, "-d", zipFile.parentFile.canonicalPath)
.start()
.waitFor()
var file :File = File(zipFile.parentFile.canonicalPath + separator + zipFile.nameWithoutExtension + ".app")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment