mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-11 10:14:59 +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
|