Add virtual environment activation support to launch script

This commit is contained in:
ComputerTech 2026-01-20 17:21:40 +00:00
parent 25f91570c5
commit 00eff40199
1 changed files with 6 additions and 0 deletions

View File

@ -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!"