Mercurial > hg > sonic-visualiser
comparison deploy/osx/deploy.sh @ 2265:d33dff02b39b sandbox-notarize
Work on sandboxing (possibly) and using the hardened runtime for notarization. Supply appropriate bundle ID for helpers as well as main application, and request inherited sandbox entitlements. Currently works with sandboxing (apparently) but not yet with the hardened runtime, where we can't load plugins signed by third parties even with the com.apple.security.cs.disable-library-validation entitlement because their team IDs don't match the host. Possibly that exception is supposed to be requested some other way?
author | Chris Cannam |
---|---|
date | Thu, 25 Apr 2019 16:46:02 +0100 |
parents | 23be8dccb855 |
children |
comparison
equal
deleted
inserted
replaced
2264:03b2b059fa03 | 2265:d33dff02b39b |
---|---|
45 echo "You probably want platforms/, accessible/ and imageformats/ subdirectories." | 45 echo "You probably want platforms/, accessible/ and imageformats/ subdirectories." |
46 cp deploy/osx/qt.conf "$source"/Contents/Resources/qt.conf | 46 cp deploy/osx/qt.conf "$source"/Contents/Resources/qt.conf |
47 | 47 |
48 echo | 48 echo |
49 echo "Copying in plugin load checker." | 49 echo "Copying in plugin load checker." |
50 cp checker/vamp-plugin-load-checker "$source"/Contents/MacOS/ | 50 cp checker/vamp-plugin-load-checker "$source"/Contents/Resources/ |
51 | 51 |
52 echo | 52 echo |
53 echo "Copying in plugin server." | 53 echo "Copying in plugin server." |
54 cp piper-vamp-simple-server "$source"/Contents/MacOS/ | 54 cp piper-vamp-simple-server "$source"/Contents/Resources/ |
55 | 55 |
56 echo | 56 echo |
57 echo "Writing version $bundleVersion in to bundle." | 57 echo "Writing version $bundleVersion in to bundle." |
58 echo "(This should be a three-part number: major.minor.point)" | 58 echo "(This should be a three-part number: major.minor.point)" |
59 | 59 |
102 rm -r "$volume" | 102 rm -r "$volume" |
103 | 103 |
104 echo | 104 echo |
105 echo "Signing dmg..." | 105 echo "Signing dmg..." |
106 | 106 |
107 codesign -s "Developer ID Application: Chris Cannam" -fv "$dmg" | 107 codesign -s "Developer ID Application: Chris Cannam" -fv "$dmg" -i "org.sonicvisualiser.SonicVisualiser" |
108 | 108 |
109 echo "Done" | 109 echo "Done" |