diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-13 00:59:52 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-13 00:59:52 +0000 |
| commit | 7aae36000e3506a1f86efd7672a88d7e25cf7eeb (patch) | |
| tree | 20a2a308b548cc4d0a418440af4627f983b260fc /platform | |
| parent | 1db0841b77968658efbbc9fba193af19d0a49a8a (diff) | |
Revert "Remove .dmg signing; I think we can't do this on OS X 10.10: does it matter?"
Put it back so we can try it on High Sierra.
This reverts commit 1db0841b77968658efbbc9fba193af19d0a49a8a.
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/osx/make_dmg.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index 729f366b0..682f24e3f 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -220,6 +220,11 @@ function make_dmg { DeRez -only icns "$appdir/Contents/Resources/dcpomatic2.icns" > "$appdir/Contents/Resources/DCP-o-matic.rsrc" Rez -append "$appdir/Contents/Resources/DCP-o-matic.rsrc" -o "$dmg" SetFile -a C "$dmg" + codesign --verify --verbose --sign "Developer ID Installer: Carl Hetherington (R82DXSR997)" "$dmg" + if [ "$?" != "0" ]; then + echo "Failed to sign .dmg" + exit 1 + fi rm $tmp_dmg rm -rf $vol_name } |
