Mercurial > hg > sonic-visualiser
comparison deploy/osx/sign.sh @ 1505:298651b1a002 3.0-integration
Try a deep codesign instead
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 09 Jan 2017 16:09:17 +0000 |
parents | 2d48532a074b |
children | 4f4eb416fcb4 |
comparison
equal
deleted
inserted
replaced
1504:49634cb5f558 | 1505:298651b1a002 |
---|---|
11 echo "Where pkgdir is the directory containing <MyApplication>.app" | 11 echo "Where pkgdir is the directory containing <MyApplication>.app" |
12 echo "All .app bundles in pkgdir will be signed" | 12 echo "All .app bundles in pkgdir will be signed" |
13 exit 2 | 13 exit 2 |
14 fi | 14 fi |
15 for app in "$dir"/*.app; do | 15 for app in "$dir"/*.app; do |
16 find "$app" -name Qt\* -print | while read fr; do | 16 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$app" |
17 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" | 17 # find "$app" -name Qt\* -print | while read fr; do |
18 done | 18 # codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" |
19 find "$app" -name \*.dylib -print | while read fr; do | 19 # done |
20 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" | 20 # find "$app" -name \*.dylib -print | while read fr; do |
21 done | 21 # codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" |
22 find "$app/Contents/MacOS" -type f -print | while read fr; do | 22 # done |
23 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" | 23 # find "$app/Contents/MacOS" -type f -print | while read fr; do |
24 done | 24 # codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" |
25 # done | |
25 codesign -s "Developer ID Application: Chris Cannam" -fv \ | 26 codesign -s "Developer ID Application: Chris Cannam" -fv \ |
26 --requirements '=designated => identifier "org.sonicvisualiser.SonicVisualiser" and ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "M2H8666U82"))' \ | 27 --requirements '=designated => identifier "org.sonicvisualiser.SonicVisualiser" and ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "M2H8666U82"))' \ |
27 "$app" | 28 "$app" |
28 done | 29 done |
29 | 30 |