Files
nixpkgs/pkgs/by-name/co/contour/remove-deep-flag-from-codesign.diff
2025-11-29 13:34:23 +08:00

17 lines
697 B
Diff

diff --git a/remove-deep-flag-from-codesign.diff b/remove-deep-flag-from-codesign.diff
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/src/contour/CMakeLists.txt b/src/contour/CMakeLists.txt
index 3c7ac83720..55e6830bfc 100644
--- a/src/contour/CMakeLists.txt
+++ b/src/contour/CMakeLists.txt
@@ -510,7 +510,7 @@
# Ensure code signature
execute_process(
WORKING_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}\"
- COMMAND codesign --force --deep --sign \"${CODE_SIGN_CERTIFICATE_ID}\" \"${BUNDLE_APP}\"
+ COMMAND codesign --force --sign \"${CODE_SIGN_CERTIFICATE_ID}\" \"${BUNDLE_APP}/Contents/MacOS/contour\"
)
")
else()