MacUpdater: Always use the same signing identity as the DolphinQt bundle

This commit is contained in:
OatmealDome
2024-07-30 21:46:06 -04:00
parent bb5326adf4
commit 8499b43501
3 changed files with 1 additions and 8 deletions

View File

@ -54,10 +54,6 @@ foreach(sb ${STORYBOARDS})
endforeach()
if(MACOS_CODE_SIGNING)
if (MACOS_CODE_SIGNING_IDENTITY_UPDATER STREQUAL "")
set(MACOS_CODE_SIGNING_IDENTITY_UPDATER "${MACOS_CODE_SIGNING_IDENTITY}")
endif()
add_custom_command(TARGET MacUpdater POST_BUILD
COMMAND /usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY_UPDATER}" --deep --options runtime $<TARGET_BUNDLE_DIR:MacUpdater>)
COMMAND /usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options runtime $<TARGET_BUNDLE_DIR:MacUpdater>)
endif()