aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrey Filipenkov <decapitator@ukr.net>2022-05-25 12:40:49 +0300
committerAndrey Filipenkov <decapitator@ukr.net>2022-05-25 23:37:07 +0300
commit5fda7a1575c6af7cd44ba23a3110c556e6d8d3cd (patch)
treee0a6af913cd1ffd17eb3f2211ee7c20b7c46bf24 /tools
parentc820ccc20ebe487cef746c25ff8bec0e700ac028 (diff)
[macos] replace existing signature in the main and helper executables
(cherry picked from commit c44330683fcb382374a64525b3bb9754da7a77e8)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/darwin/packaging/osx/mkdmg-osx.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/darwin/packaging/osx/mkdmg-osx.sh.in b/tools/darwin/packaging/osx/mkdmg-osx.sh.in
index 14456f78f1..2b8242ee0c 100755
--- a/tools/darwin/packaging/osx/mkdmg-osx.sh.in
+++ b/tools/darwin/packaging/osx/mkdmg-osx.sh.in
@@ -40,9 +40,9 @@ if [ "$EXPANDED_CODE_SIGN_IDENTITY_NAME" ]; then
# execute codesign script
"$DIRNAME/Codesign.command"
# sign helper tool
- codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" --options runtime --timestamp --entitlements Kodi.entitlements "$APP/Contents/Resources/Kodi/tools/darwin/runtime/XBMCHelper"
+ codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" --force --options runtime --timestamp --entitlements Kodi.entitlements "$APP/Contents/Resources/Kodi/tools/darwin/runtime/XBMCHelper"
# perform top-level signing (Xcode does it automatically when signing settings are configured)
- codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" --options runtime --timestamp --entitlements Kodi.entitlements "$APP"
+ codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" --force --options runtime --timestamp --entitlements Kodi.entitlements "$APP"
fi
PACKAGE=org.xbmc.@APP_NAME_LC@-osx