mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-06 03:34:57 +08:00
Codesign static libraries
This commit is contained in:
parent
15e2b0cd65
commit
5ae46ff151
2 changed files with 2 additions and 1 deletions
2
.github/scripts/app/build_macos.sh
vendored
2
.github/scripts/app/build_macos.sh
vendored
|
@ -23,7 +23,7 @@ main() {
|
||||||
bootstrap_otp() {
|
bootstrap_otp() {
|
||||||
dir=$PWD
|
dir=$PWD
|
||||||
cd elixirkit/otp_bootstrap
|
cd elixirkit/otp_bootstrap
|
||||||
. ./build_macos_universal.sh $OTP_VERSION "1.1.1s"
|
. ./build_macos_universal.sh $OTP_VERSION "1.1.1s"
|
||||||
cd $dir
|
cd $dir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ password="${ELIXIRKIT_NOTARY_PASSWORD:-}"
|
||||||
|
|
||||||
if [ -n "$identity" ]; then
|
if [ -n "$identity" ]; then
|
||||||
files=`find $app_dir -perm +111 -type f -exec sh -c "file {} | grep --silent Mach-O" \; -print`
|
files=`find $app_dir -perm +111 -type f -exec sh -c "file {} | grep --silent Mach-O" \; -print`
|
||||||
|
files="$files `find $app_dir -name '*.a'`"
|
||||||
files="$files $app_dir/Contents/MacOS/$app_name"
|
files="$files $app_dir/Contents/MacOS/$app_name"
|
||||||
codesign --sign="$identity" --options=runtime --entitlements=App.entitlements --force --timestamp --verbose=2 $files
|
codesign --sign="$identity" --options=runtime --entitlements=App.entitlements --force --timestamp --verbose=2 $files
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue