2016-08-17 19:36:50 +00:00
|
|
|
#!/bin/bash -e
|
2018-07-07 05:16:47 +00:00
|
|
|
#
|
|
|
|
# just a simple helper to make it easier for me to sign our binaries
|
2013-12-15 19:19:01 +00:00
|
|
|
|
|
|
|
echo -- signing staging/Subsurface.app
|
|
|
|
cd staging
|
|
|
|
|
2018-07-03 16:27:53 +00:00
|
|
|
# remove the spurious DBus framework that we don't need
|
2019-11-20 18:47:18 +00:00
|
|
|
#rm -rf Subsurface.app/Contents/Frameworks/QtDBus.framework
|
2018-07-03 16:27:53 +00:00
|
|
|
|
2018-07-07 05:16:47 +00:00
|
|
|
# remove anything codesign doesn't want us to sign
|
|
|
|
find Subsurface.app/Contents/Frameworks/ \( -name Headers -o -name \*.prl -o -name \*_debug \) -print0 | xargs -0 rm -rf
|
2013-12-15 19:19:01 +00:00
|
|
|
|
2019-01-24 21:51:29 +00:00
|
|
|
codesign --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force Subsurface.app
|