Mercurial > hg > sonic-visualiser
comparison deploy/osx/sign.sh @ 2385:f6398deea932
Attempt to request to load unsigned plugins. Not helping with the plugins that are currently failing.
author | Chris Cannam |
---|---|
date | Thu, 17 Oct 2019 15:33:05 +0100 |
parents | 9ca6872a5d0f |
children | 6c15b82e7e69 |
comparison
equal
deleted
inserted
replaced
2384:80c5abeae312 | 2385:f6398deea932 |
---|---|
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 | 15 |
16 # NB at some point we are going to have to include "--options runtime" | 16 entitlements=deploy/osx/Entitlements.plist |
17 # in all of these codesign invocations, and figure out what to do | 17 helper_entitlements=deploy/osx/HelperEntitlements.plist |
18 # about signing plugins... | |
19 | 18 |
20 for app in "$dir"/*.app; do | 19 for app in "$dir"/*.app; do |
21 find "$app" -name \*.dylib -print | while read fr; do | 20 find "$app" -name \*.dylib -print | while read fr; do |
22 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$fr" | 21 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime "$fr" |
23 done | 22 done |
24 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$app/Contents/MacOS/Sonic Visualiser" | 23 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime --entitlements "$entitlements" "$app/Contents/MacOS/Sonic Visualiser" |
25 codesign -s "Developer ID Application: Chris Cannam" -fv --deep "$app" | 24 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime --entitlements "$helper_entitlements" "$app/Contents/MacOS/vamp-plugin-load-checker" |
25 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime --entitlements "$helper_entitlements" "$app/Contents/MacOS/piper-vamp-simple-server" | |
26 codesign -s "Developer ID Application: Chris Cannam" -fv --deep --options runtime --entitlements "$entitlements" "$app" | |
26 done | 27 done |
27 | 28 |