This commit is contained in:
Mikayla 2023-11-20 10:34:22 -08:00
parent 45371584b1
commit acbad4c7b7
No known key found for this signature in database

View file

@ -10,6 +10,7 @@ local_only=false
overwrite_local_app=false overwrite_local_app=false
bundle_name="" bundle_name=""
zed_crate="zed" zed_crate="zed"
binary_name="Zed"
# This must match the team in the provsiioning profile. # This must match the team in the provsiioning profile.
APPLE_NOTORIZATION_TEAM="MQ55VZLNZQ" APPLE_NOTORIZATION_TEAM="MQ55VZLNZQ"
@ -50,7 +51,10 @@ do
target_dir="debug" target_dir="debug"
;; ;;
f) overwrite_local_app=true;; f) overwrite_local_app=true;;
2) zed_crate="zed2";; 2)
zed_crate="zed2"
binary_name="Zed2"
;;
h) h)
help_info help_info
exit 0 exit 0
@ -116,7 +120,7 @@ if [ "$local_arch" = false ]; then
echo "Creating fat binaries" echo "Creating fat binaries"
lipo \ lipo \
-create \ -create \
target/{x86_64-apple-darwin,aarch64-apple-darwin}/${target_dir}/Zed \ target/{x86_64-apple-darwin,aarch64-apple-darwin}/${target_dir}/${binary_name} \
-output \ -output \
"${app_path}/Contents/MacOS/${zed_crate}" "${app_path}/Contents/MacOS/${zed_crate}"
lipo \ lipo \