mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
Improve the start script in OS X.
Starts qb64 as an independent process and closes Terminal window after it's done. If no more Terminal windows remain open, quits Terminal app.
This commit is contained in:
parent
ed03cc992f
commit
4ecf981909
1 changed files with 4 additions and 1 deletions
|
@ -1,2 +1,5 @@
|
|||
cd "$(dirname "$0")"
|
||||
./qb64
|
||||
./qb64 &
|
||||
osascript -e 'tell application "Terminal" to close (every window whose name contains "qb64_start_osx.command")' &
|
||||
osascript -e 'if (count the windows of application "Terminal") is 0 then tell application "Terminal" to quit' &
|
||||
exit
|
Loading…
Reference in a new issue