From a82a12fd1498d0d850ca9c5ce76e9a11eb0f5671 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 29 Oct 2021 11:41:07 +0200 Subject: [PATCH] Bundle fat-binary for rust-analyzer --- script/bundle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/bundle b/script/bundle index 7b1929d112..540c280cee 100755 --- a/script/bundle +++ b/script/bundle @@ -19,8 +19,7 @@ cargo build --release --target aarch64-apple-darwin lipo -create target/x86_64-apple-darwin/release/Zed target/aarch64-apple-darwin/release/Zed -output target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/MacOS/zed # Bundle rust-analyzer -cp vendor/bin/rust-analyzer-x86_64-apple-darwin target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/ -cp vendor/bin/rust-analyzer-aarch64-apple-darwin target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/ +cp vendor/bin/rust-analyzer target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/ # Sign the app bundle with an ad-hoc signature so it runs on the M1. We need a real certificate but this works for now. if [[ -n $MACOS_CERTIFICATE && -n $MACOS_CERTIFICATE_PASSWORD && -n $APPLE_NOTARIZATION_USERNAME && -n $APPLE_NOTARIZATION_PASSWORD ]]; then