Mercurial > hg > sonic-visualiser
comparison deploy/osx/sign.sh @ 1398:6f5a40419b00 bqaudioio
Merge from branch bqresample
author | Chris Cannam |
---|---|
date | Wed, 07 Dec 2016 11:53:44 +0000 |
parents | 2d48532a074b |
children | 298651b1a002 |
comparison
equal
deleted
inserted
replaced
1044:be5b29ce283b | 1398:6f5a40419b00 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | |
3 set -eu | |
2 | 4 |
3 # Execute this from the top-level directory of the project (the one | 5 # Execute this from the top-level directory of the project (the one |
4 # that contains the .app bundle). Supply the name of the .app bundle | 6 # that contains the .app bundle). Supply the name of the .app bundle |
5 # as argument | 7 # as argument |
6 dir="$1" | 8 dir="$1" |
15 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" | 17 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" |
16 done | 18 done |
17 find "$app" -name \*.dylib -print | while read fr; do | 19 find "$app" -name \*.dylib -print | while read fr; do |
18 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" | 20 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" |
19 done | 21 done |
22 find "$app/Contents/MacOS" -type f -print | while read fr; do | |
23 codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" | |
24 done | |
20 codesign -s "Developer ID Application: Chris Cannam" -fv \ | 25 codesign -s "Developer ID Application: Chris Cannam" -fv \ |
21 --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"))' \ | 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"))' \ |
22 "$app" | 27 "$app" |
23 done | 28 done |
24 | 29 |