please work

This commit is contained in:
Mikayla 2023-11-18 10:46:35 -08:00
parent 461fa8d71e
commit ede7656f02
No known key found for this signature in database
4 changed files with 8 additions and 7 deletions

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 \