nextcloud-desktop/admin/osx/sign_app.sh

13 lines
258 B
Bash
Raw Normal View History

2014-09-02 18:13:37 +04:00
#!/bin/sh -x
[ "$#" -lt 2 ] && echo "Usage: sign_app.sh <app> <identity>" && exit
src_app="$1"
identity="$2"
2014-10-01 17:33:20 +04:00
codesign -s "$identity" --force --verbose=4 --deep "$src_app"
2014-09-02 18:13:37 +04:00
# Just for our debug purposes:
spctl -a -t exec -vv $src_app
2014-10-01 17:33:20 +04:00
codesign -dv $src_app