#!/bin/bash
set -euo pipefail
RESOURCES="$(cd "$(dirname "$0")/../Resources" && pwd)"
CMD="$RESOURCES/RustEAI.command"
osascript <<APPLESCRIPT
tell application "Terminal"
  activate
  do script "exec $(printf %q "$CMD")"
end tell
APPLESCRIPT
