From 977e46d33f12c1c7495203f8ce5a26fce1706512 Mon Sep 17 00:00:00 2001 From: Armin Briegel <1933192+scriptingosx@users.noreply.github.com> Date: Mon, 21 Sep 2020 15:02:45 +0200 Subject: [PATCH] changed zip de-compression from unzip to ditto --- Installomator.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Installomator.sh b/Installomator.sh index d07517e..255fa13 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -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" }