From 00eff40199f7ea795b6be3359b00ae59eb9c1cd1 Mon Sep 17 00:00:00 2001 From: ComputerTech Date: Tue, 20 Jan 2026 17:21:40 +0000 Subject: [PATCH] Add virtual environment activation support to launch script --- launch_qt.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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!"