Commit 2848a2ad authored by Adrien's avatar Adrien

return a zip instead of the raw dmg, apparently it leads to some tomcat issues...

parent 6bb3f284
......@@ -93,7 +93,13 @@ class MacCodeSign {
logger.info("dmg has been created and signed successfully")
return dmg
val zipDmg : File = zip(dmg)
if (!dmg.delete()) {
throw Throwable("Failed to delete temp file $dmg")
}
return zipDmg
}
fun unzip(zipFile: File, rename: Boolean): File {
......
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