please work

This commit is contained in:
Mikayla committed 2023-11-18 10:46:35 -08:00
1 parent 5d1949cfe9
commit 1d22898daa
4 files changed
+8 -7

No files matched your search

+4 -2
View File
@@ -112,13 +112,15 @@ mv Cargo.toml.backup Cargo.toml
popd
echo "Bundled ${app_path}"
zed_app_name=$(basename "${app_path}")
if [ "$local_arch" = false ]; then
echo "Creating fat binaries"
lipo \
-create \
target/{x86_64-apple-darwin,aarch64-apple-darwin}/${target_dir}/Zed \
target/{x86_64-apple-darwin,aarch64-apple-darwin}/${target_dir}/$zed_app_name \
-output \
"${app_path}/Contents/MacOS/zed"
"${app_path}/Contents/MacOS/${zed_crate}"
lipo \
-create \
target/{x86_64-apple-darwin,aarch64-apple-darwin}/${target_dir}/cli \