Aegisub/aegisub/src/osx-run.sh

28 lines
282 B
Bash
Executable File

#!/bin/sh
set -e
case "$1" in
"build")
cd ..
make
make osx-bundle
cd src
open ../*.app
;;
"build-gdb")
cd ..
make
make osx-bundle
cd src
gdb ../*.app/Contents/MacOS/aegisub
;;
"gdb")
gdb ../*.app/Contents/MacOS/aegisub
;;
*)
open ../*.app
;;
esac