mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-15 02:01:38 +03:00
c3dca7a288
Addresses #3114
12 lines
251 B
Bash
Executable file
12 lines
251 B
Bash
Executable file
#!/bin/sh -xe
|
|
|
|
[ "$#" -lt 2 ] && echo "Usage: sign_app.sh <app> <identity>" && exit
|
|
|
|
src_app="$1"
|
|
identity="$2"
|
|
|
|
codesign -s "$identity" --force --verbose=4 --deep "$src_app"
|
|
|
|
# Verify the signature
|
|
spctl -a -t exec -vv $src_app
|
|
codesign -dv $src_app
|