#!/bin/bash # Quick launcher for DaemonControl GUI with venv cd "$(dirname "$0")" # Check if venv exists if [ ! -d "venv" ]; then echo "Virtual environment not found. Creating..." python3 -m venv venv source venv/bin/activate pip install --upgrade pip pip install PyQt6 else source venv/bin/activate fi # Check if PyQt6 is installed if ! python -c "import PyQt6" 2>/dev/null; then echo "Installing PyQt6..." pip install PyQt6 fi # Run the GUI echo "Starting DaemonControl GUI..." python start_gui.py