mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 21:50:26 +00:00
75d7d7a83c
This avoids a common problem if some of the libraries copied into the budle where previously signed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
14 lines
560 B
Bash
14 lines
560 B
Bash
#!/bin/bash -e
|
|
#
|
|
# just a simple helper to make it easier for me to sign our binaries
|
|
|
|
echo -- signing staging/Subsurface.app
|
|
cd staging
|
|
|
|
# remove the spurious DBus framework that we don't need
|
|
rm -rf Subsurface.app/Contents/Frameworks/QtDBus.framework
|
|
|
|
# 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
|
|
|
|
codesign --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force Subsurface.app
|