diff options
author | Miguel Borges de Freitas <92enen@gmail.com> | 2023-08-04 15:09:37 +0100 |
---|---|---|
committer | Miguel Borges de Freitas <92enen@gmail.com> | 2023-08-07 11:19:18 +0100 |
commit | 751a4ba2b30c3131a6d24309ea0c8cffbe01c193 (patch) | |
tree | db8cb71e16524c8107f81b0adadf712294b4b890 /tools/darwin | |
parent | 7879f2a037f411448afd018d091ee2ced60fd673 (diff) |
[cmake][macOS] Allow building without xbmchelper - default for arm64
Diffstat (limited to 'tools/darwin')
-rwxr-xr-x | tools/darwin/packaging/osx/mkdmg-osx.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/darwin/packaging/osx/mkdmg-osx.sh.in b/tools/darwin/packaging/osx/mkdmg-osx.sh.in index 8d8533c80c..cded94d728 100755 --- a/tools/darwin/packaging/osx/mkdmg-osx.sh.in +++ b/tools/darwin/packaging/osx/mkdmg-osx.sh.in @@ -38,7 +38,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" --force --options runtime --timestamp --entitlements Kodi.entitlements "$APP/Contents/Resources/Kodi/tools/darwin/runtime/XBMCHelper" + if [ -f "$APP/Contents/Resources/Kodi/tools/darwin/runtime/XBMCHelper" ]; then + codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" --force --options runtime --timestamp --entitlements Kodi.entitlements "$APP/Contents/Resources/Kodi/tools/darwin/runtime/XBMCHelper" + fi # perform top-level signing (Xcode does it automatically when signing settings are configured) codesign --verbose=4 --sign "$EXPANDED_CODE_SIGN_IDENTITY_NAME" --force --options runtime --timestamp --entitlements Kodi.entitlements "$APP" fi |