diff --git a/launch_qt.sh b/launch_qt.sh index 8ec5d88..a5f7d10 100755 --- a/launch_qt.sh +++ b/launch_qt.sh @@ -5,6 +5,12 @@ echo "🎧 TechDJ PyQt5 - Native DJ Application" echo "========================================" echo "" +# Activate virtual environment if it exists +if [ -f "./venv/bin/activate" ]; then + echo "🔧 Activating virtual environment..." + source ./venv/bin/activate +fi + # Check if Python is installed if ! command -v python3 &> /dev/null; then echo "❌ Python 3 is not installed!"