Skip to content

Instantly share code, notes, and snippets.

@peter-mach
Created January 10, 2015 16:49
Show Gist options
  • Save peter-mach/9cca6f002781c1aa2d13 to your computer and use it in GitHub Desktop.
Save peter-mach/9cca6f002781c1aa2d13 to your computer and use it in GitHub Desktop.
CoronaSDK simulator launch script directing output to the terminal
#!/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