mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
build-system/macOS: change signing to re-enable notarization
This continues to be useless for other people as it requires my signing key, but when signed like this I can then successfully submit the dmg for notarization, so I'll update the signing script in order not to lose that magic... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
da3b2c89f2
commit
601f49ab84
1 changed files with 6 additions and 1 deletions
|
@ -11,4 +11,9 @@ cd staging
|
||||||
# remove anything codesign doesn't want us to sign
|
# 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
|
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
|
# codesign --deep doesn't find the shared libraries that are QML plugins
|
||||||
|
for dylib in $(find Subsurface.app/Contents/Resources/qml -name \*.dylib) ; do
|
||||||
|
codesign --options runtime --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force $dylib
|
||||||
|
done
|
||||||
|
|
||||||
|
codesign --options runtime --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force Subsurface.app
|
||||||
|
|
Loading…
Reference in a new issue