changed zip de-compression from unzip to ditto

This commit is contained in:
Armin Briegel
2020-09-21 15:02:45 +02:00
parent 5bfeddbecf
commit 977e46d33f

View File

@@ -413,7 +413,12 @@ installFromZIP() {
# note: when you expand a zip using tar in Mojave the expanded
# app will never pass the spctl check
unzip -o -qq "$archiveName"
# unzip -o -qq "$archiveName"
# note: githubdesktop fails spctl verification when expanded
# with unzip
ditto -x -k "$archiveName" "$tmpDir"
installAppWithPath "$tmpDir/$appName"
}