Commit a4883713 authored by Adrien's avatar Adrien

typo

parent e67ea059
......@@ -99,7 +99,7 @@ class MacCodeSign {
fun unzip(zipFile: File) : File {
ProcessBuilder()
.inheritIO()
.command("unzip", zipFile.canonicalPath, "-r", zipFile.parentFile.canonicalPath)
.command("unzip", zipFile.canonicalPath, "-d", zipFile.parentFile.canonicalPath)
.start()
.waitFor()
var file :File = File(zipFile.parentFile.canonicalPath + separator + zipFile.nameWithoutExtension + ".app")
......@@ -114,7 +114,7 @@ class MacCodeSign {
val zipPath : String = file.parentFile.canonicalPath + separator + file.nameWithoutExtension + ".zip"
ProcessBuilder()
.inheritIO()
.command("zip", zipPath, file.canonicalPath)
.command("zip", zipPath, "-r", file.canonicalPath)
.start()
.waitFor()
var zipFile = File(zipPath)
......
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