Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Disable keychain timeout in bundle-mac (#43204)
Conrad Irwin2b9eeb9a308a
diff --git a/script/bundle-mac b/script/bundle-macindex 248cb10203a..5ee6590a0c6 100755--- a/script/bundle-mac+++ b/script/bundle-mac@@ -113,6 +113,8 @@ if [[ -n "${MACOS_CERTIFICATE:-}" && -n "${MACOS_CERTIFICATE_PASSWORD:-}" && -nsecurity create-keychain -p "$MACOS_CERTIFICATE_PASSWORD" zed.keychain || echo ""security default-keychain -s zed.keychainsecurity unlock-keychain -p "$MACOS_CERTIFICATE_PASSWORD" zed.keychain+ # Calling set-keychain-settings without `-t` disables the auto-lock timeout+ security set-keychain-settings zed.keychainecho "$MACOS_CERTIFICATE" | base64 --decode > /tmp/zed-certificate.p12security import /tmp/zed-certificate.p12 -k zed.keychain -P "$MACOS_CERTIFICATE_PASSWORD" -T /usr/bin/codesignrm /tmp/zed-certificate.p12