please work
This commit is contained in:
parent
461fa8d71e
commit
ede7656f02
4 changed files with 8 additions and 7 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue