mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 05:17:44 -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()
|
endforeach()
|
||||||
|
|
||||||
if(MACOS_CODE_SIGNING)
|
if(MACOS_CODE_SIGNING)
|
||||||
add_custom_command(TARGET MacUpdater POST_BUILD
|
add_custom_command(TARGET MacUpdater
|
||||||
COMMAND /usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options runtime $<TARGET_BUNDLE_DIR:MacUpdater>)
|
POST_BUILD
|
||||||
|
COMMAND "${CMAKE_SOURCE_DIR}/Tools/mac-codesign.sh"
|
||||||
|
"${MACOS_CODE_SIGNING_IDENTITY}"
|
||||||
|
"$<TARGET_BUNDLE_DIR:MacUpdater>"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@ -52,7 +52,7 @@ if [ -d "$TARGET_PATH" ]; then
|
|||||||
# Newlines are the only valid separator character in find's output.
|
# Newlines are the only valid separator character in find's output.
|
||||||
IFS=$'\n'
|
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"
|
sign "$framework"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user