Created
January 10, 2015 16:49
-
-
Save peter-mach/9cca6f002781c1aa2d13 to your computer and use it in GitHub Desktop.
CoronaSDK simulator launch script directing output to the terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
path=`dirname "$0"` | |
if [[ -f "$path/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" ]] | |
then | |
"$path/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator" -no-console YES "$@" | |
else | |
echo "ERROR: Could not find \"Corona Simulator.app\" in: $path" | |
fi | |
sleep 2 # prevent us being short-lived |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment