2026-10-18 16:14:03 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
set -eu
|
|
|
|
|
mac=$(cd "$(dirname "$0")" && pwd)
|
|
|
|
|
|
|
|
|
|
"$mac/package.sh"
|
2026-10-21 22:00:54 -07:00
|
|
|
"$mac/phone.sh"
|
|
|
|
|
rm -rf "$mac/.build/phone/iphoneos/export"
|
|
|
|
|
xcodebuild -exportArchive -archivePath "$mac/.build/phone/iphoneos/Byre.xcarchive" -exportOptionsPlist "$mac/phone/export.plist" -exportPath "$mac/.build/phone/iphoneos/export" -allowProvisioningUpdates
|
2026-10-18 16:14:03 -07:00
|
|
|
version=$(plutil -extract CFBundleShortVersionString raw "$mac/.build/Byre.app/Contents/Info.plist")
|
|
|
|
|
dmg=$mac/.build/release/$version/byre-$version.dmg
|
|
|
|
|
"$mac/install.sh" "$dmg"
|