Add virtual environment activation support to launch script
This commit is contained in:
parent
25f91570c5
commit
00eff40199
|
|
@ -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!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue