Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
remote server on macOS: Sign with entitlements (#18863)
Thorsten Ballff7aa024eea8
diff --git a/script/bundle-mac b/script/bundle-macindex 4c177918121..bc95e1dd6a9 100755--- a/script/bundle-mac+++ b/script/bundle-mac@@ -83,7 +83,10 @@ if [ "$local_arch" = true ]; thencargo build ${build_flag} --package zed --package cli --package remote_serverelseecho "Compiling zed binaries"- cargo build ${build_flag} --package zed --package cli --package remote_server --target aarch64-apple-darwin --target x86_64-apple-darwin+ cargo build ${build_flag} --package zed --package cli --target aarch64-apple-darwin --target x86_64-apple-darwin+ # Build remote_server in separate invocation to prevent feature unification from other crates+ # from influencing dynamic libraries required by it.+ cargo build ${build_flag} --package remote_server --target aarch64-apple-darwin --target x86_64-apple-darwinfiecho "Creating application bundle"@@ -358,7 +361,7 @@ function sign_binary() {if [[ $can_code_sign = true ]]; thenecho "Code signing executable $binary_path"- /usr/bin/codesign --deep --force --timestamp --options runtime --sign "$IDENTITY" "${binary_path}" -v+ /usr/bin/codesign --deep --force --timestamp --options runtime --entitlements crates/zed/resources/zed.entitlements --sign "$IDENTITY" "${binary_path}" -vfi}