#!/bin/bash
DIR="$(cd "$(dirname "$0")" && pwd)"
osascript -e 'tell application "Terminal" to activate' \
  -e "tell application \"Terminal\" to do script \"'$DIR/run.sh'\"" >/dev/null 2>&1 \
|| "$DIR/run.sh"
