mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-13 12:57:48 -07:00
MacUpdater: Switch to mac-codesign script for code signing
This commit is contained in:
parent
4883889e23
commit
cbbffce79a
@ -54,6 +54,10 @@ foreach(sb ${STORYBOARDS})
|
||||
endforeach()
|
||||
|
||||
if(MACOS_CODE_SIGNING)
|
||||
add_custom_command(TARGET MacUpdater POST_BUILD
|
||||
COMMAND /usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options runtime $<TARGET_BUNDLE_DIR:MacUpdater>)
|
||||
add_custom_command(TARGET MacUpdater
|
||||
POST_BUILD
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/Tools/mac-codesign.sh"
|
||||
"${MACOS_CODE_SIGNING_IDENTITY}"
|
||||
"$<TARGET_BUNDLE_DIR:MacUpdater>"
|
||||
)
|
||||
endif()
|
||||
|
@ -52,7 +52,7 @@ if [ -d "$TARGET_PATH" ]; then
|
||||
# Newlines are the only valid separator character in find's output.
|
||||
IFS=$'\n'
|
||||
|
||||
for framework in $(find "$TARGET_PATH" -not -path "*/Helpers/*" -name '*.dylib' -or -name '*.framework'); do
|
||||
for framework in $(find "$TARGET_PATH" -depth -not -path "*/Helpers/*" -name '*.dylib' -or -name '*.framework'); do
|
||||
sign "$framework"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user