From 2919cbe9cbb2de632e507da58f23b90105ae80f4 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 1 Nov 2021 10:30:10 +0100 Subject: [PATCH] Try signing rust-analyzer in order to embed it in the app bundle --- script/bundle | 1 + 1 file changed, 1 insertion(+) diff --git a/script/bundle b/script/bundle index 540c280cee..7b02b06305 100755 --- a/script/bundle +++ b/script/bundle @@ -31,6 +31,7 @@ if [[ -n $MACOS_CERTIFICATE && -n $MACOS_CERTIFICATE_PASSWORD && -n $APPLE_NOTAR security import /tmp/zed-certificate.p12 -k zed.keychain -P $MACOS_CERTIFICATE_PASSWORD -T /usr/bin/codesign rm /tmp/zed-certificate.p12 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CERTIFICATE_PASSWORD zed.keychain + /usr/bin/codesign --force --deep --timestamp --options runtime --sign "Zed Industries, Inc." target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/rust-analyzer -v /usr/bin/codesign --force --deep --timestamp --options runtime --sign "Zed Industries, Inc." target/x86_64-apple-darwin/release/bundle/osx/Zed.app -v security default-keychain -s login.keychain else