Files
ctdocpp/run.sh
TIPC1110 a32f79f6d5 feat: Implement core functionality for DTC C/C++ IDE
- Added ProjectManager class to handle project operations including opening, closing, building, and running projects.
- Introduced SyntaxHighlighter class for syntax highlighting in C and C++ files.
- Developed TerminalWidget for command execution and output display.
- Created TextEditor with line numbering and auto-indentation features.
- Established main application entry point in main.cpp.
- Designed UI layout for MainWindow using Qt Designer.
2025-07-04 12:23:20 +07:00

22 lines
517 B
Bash
Executable File

#!/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