10 lines
299 B
Bash
Executable File
10 lines
299 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
mac=$(cd "$(dirname "$0")" && pwd)
|
|
|
|
"$mac/package.sh"
|
|
version=$(plutil -extract CFBundleShortVersionString raw "$mac/.build/Byre.app/Contents/Info.plist")
|
|
dmg=$mac/.build/release/$version/byre-$version.dmg
|
|
"$mac/install.sh" "$dmg"
|
|
launchctl kickstart -k "gui/$(id -u)/run.fc.byre"
|