Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 19 lines (19 sloc) 441 Bytes
#!/bin/sh
set -e
lipo -thin arm64e -output "$2" "$1"
chmod +w "$2"
[[ -e "$2.entitlement" ]] || codesign -d --entitlement "$2.entitlement" "$2"
python3 set_to_arm64.py "$2"
if [[ -s "$2.entitlement" ]]
then
codesign --force \
--sign 52F754C59CFAC59BC5794F5A3B523EFE0667D7EB \
--timestamp=none \
--entitlement "$2.entitlement" \
"$2"
else
codesign --force \
--sign 52F754C59CFAC59BC5794F5A3B523EFE0667D7EB \
--timestamp=none \
"$2"
fi