mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-13 07:34:52 +03:00
e1fa6f1a0d
This is taken care of by macdeployqt.py, which is run during "make install"
12 lines
258 B
Bash
Executable file
12 lines
258 B
Bash
Executable file
#!/bin/sh -x
|
|
|
|
[ "$#" -lt 2 ] && echo "Usage: sign_app.sh <app> <identity>" && exit
|
|
|
|
src_app="$1"
|
|
identity="$2"
|
|
|
|
codesign -s "$identity" --force --verbose=4 --deep "$src_app"
|
|
|
|
# Just for our debug purposes:
|
|
spctl -a -t exec -vv $src_app
|
|
codesign -dv $src_app
|