diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-10-03 19:47:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-03 23:20:06 +0200 |
| commit | 5b1c0d804847978e32bc4ce4de43f148c366f9da (patch) | |
| tree | 76e2c85f970a24ccc60711b0b8f6f6489013d369 | |
| parent | ee90ea77862a6d07c77a141c3a4e27e7737e80ed (diff) | |
Add xattr command to remove things from .apps that codesign does not like.
It says:
resource fork, Finder information, or similar detritus not allowed
I'm not sure why this suddenly became necessary.
| -rw-r--r-- | platform/osx/make_dmg.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index d7aaade8c..5b9f187f1 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -244,6 +244,7 @@ EOF 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" + xattr -c "$dmg" codesign --verify --verbose --sign "Developer ID Application: Carl Hetherington (R82DXSR997)" "$dmg" if [ "$?" != "0" ]; then echo "Failed to sign .dmg" |
