Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2020-02-18 16:10:15 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2020-02-18 16:10:15 +0300
commit679981d29f8a6e445d3c1e6d41e72a673ffaa653 (patch)
tree6e5f5b09548b75eb61c6633604bd1172c5613ff9 /Installer
parentce7180d59955d89e2245110a1e9c7c6b862c2a06 (diff)
Enable hardened runtime when building MacOS packages as it is now required.
Diffstat (limited to 'Installer')
-rw-r--r--Installer/OSX/make-dmg.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Installer/OSX/make-dmg.sh b/Installer/OSX/make-dmg.sh
index ca49275a0..a10ca9537 100644
--- a/Installer/OSX/make-dmg.sh
+++ b/Installer/OSX/make-dmg.sh
@@ -137,11 +137,11 @@ if [ "x${CODESIGN_IDENTITY}" != "x" ]; then
# These files have dependencies, so we need to sign them in the correct order
for file in "duplicati-cli" "duplicati-server" "uninstall.sh"; do
- codesign -s "${CODESIGN_IDENTITY}" "Duplicati.app/Contents/MacOS/${file}"
+ codesign -f --options=runtime -s "${CODESIGN_IDENTITY}" "Duplicati.app/Contents/MacOS/${file}"
done
# Then sign the whole package
- codesign -s "${CODESIGN_IDENTITY}" "Duplicati.app"
+ codesign -f --options=runtime -s "${CODESIGN_IDENTITY}" "Duplicati.app"
else
echo "No codesign identity supplied, skipping bundle signing"
fi
@@ -229,9 +229,9 @@ rm -rf "$WC_DIR"
if [ "x${CODESIGN_IDENTITY}" != "x" ]; then
echo "Codesigning DMG image"
- codesign -s "${CODESIGN_IDENTITY}" "${OUTPUT_DMG}"
+ codesign -f --options=runtime -s "${CODESIGN_IDENTITY}" "${OUTPUT_DMG}"
else
echo "No codesign identity supplied, skipping DMG signing"
fi
-echo "Done, created ${OUTPUT_DMG}" \ No newline at end of file
+echo "Done, created ${OUTPUT_DMG}"