mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Merge branch 'master' into develop
This commit is contained in:
11
release-tool
11
release-tool
@@ -1210,9 +1210,14 @@ appsign() {
|
||||
exitError "Unpacking failed!"
|
||||
fi
|
||||
|
||||
logInfo "Signing app..."
|
||||
xcrun codesign --sign "${key}" --verbose --deep --entitlements \
|
||||
"${real_src_dir}/share/macosx/keepassxc.entitlements" ./app/KeePassXC.app
|
||||
logInfo "Signing app bundle..."
|
||||
xcrun codesign --sign "${key}" --verbose --deep --options runtime ./app/KeePassXC.app
|
||||
|
||||
# Sign main binary and libraries independently so we can keep using the convenient --deep
|
||||
# option while avoiding adding entitlements recursively
|
||||
logInfo "Signing main binary..."
|
||||
xcrun codesign --sign "${key}" --verbose --force --options runtime --entitlements \
|
||||
"${real_src_dir}/share/macosx/keepassxc.entitlements" ./app/KeePassXC.app/Contents/MacOS/KeePassXC
|
||||
|
||||
if [ 0 -ne $? ]; then
|
||||
cd "${orig_dir}"
|
||||
|
||||
Reference in New Issue
Block a user