#!/bin/bash # Run script for DTC C/C++ IDE echo "🚀 Starting DTC C/C++ IDE..." # Check if built if [ ! -f "build/dtc-ide.app/Contents/MacOS/dtc-ide" ] && [ ! -f "build/dtc-ide" ]; then echo "❌ IDE not built yet. Please run ./build.sh first" exit 1 fi # Run the IDE if [ -f "build/dtc-ide.app/Contents/MacOS/dtc-ide" ]; then echo "📱 Running macOS app bundle..." open build/dtc-ide.app elif [ -f "build/dtc-ide" ]; then echo "🖥️ Running executable..." cd build ./dtc-ide fi