Skip to content
Browse files

Updated to work with new Daily Builds, which don't have the 'simulato…

…r' shortcut
  • Loading branch information...
1 parent 70006ac commit b167b77afaa54fc3c205018dc76037c9ad90ce32 @osadchuk committed Sep 18, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Commands/Run Simulator.tmCommand
View
6 Commands/Run Simulator.tmCommand
@@ -12,9 +12,9 @@ if [[ ${#SKIN} < 1 ]] ; then
fi
if [[ ${#SDK_PATH} > 0 ]] ; then
- CORONA_SIM_PATH=$SDK_PATH"/simulator"
+ CORONA_SIM_PATH=$SDK_PATH"/Corona Terminal"
else
- CORONA_SIM_PATH="/Applications/CoronaSDK/simulator"
+ CORONA_SIM_PATH="/Applications/CoronaSDK/Corona Terminal"
fi
if [[ ${#TM_PROJECT_DIRECTORY} > 0 ]] ; then
@@ -58,7 +58,7 @@ osascript <<- APPLESCRIPT
selectAppMenuItem("Corona Simulator","File","Relaunch")
else
tell application "Terminal"
- do script "$CORONA_SIM_PATH -project $TM_PROJECT_DIRECTORY -skin $SKIN"
+ do script "'$CORONA_SIM_PATH' -project $TM_PROJECT_DIRECTORY -skin $SKIN"
end tell
end if

0 comments on commit b167b77

Please sign in to comment.
Something went wrong with that request. Please try again.