l4iy dZddlZddlmZeej Zejjde eddl m Z m Z ddl mZddlmZdefdZd Zed k(reyy) z Start DaemonControl GUI Launches the full GUI application with: - Main window with tabs (Dashboard, Jobs, History) - System tray integration - Job management N)Path) QApplicationQSystemTrayIcon) SystemTrayApp) setup_loggerreturnctjswtdtdtdttdtdttdtdtdtyy ) zoCheck if system tray is available. Returns: True if system tray is supported, False otherwise F======================================================================z"WARNING: System Tray Not Availablez?  rctd}|jd ttj}|j dt }tdtdtdttdttdtdtdtd |r td ttd tt}|r|j|j|jd tj|jy#t$r4|jd tdtjdYyt$rW}|jd|dtd|ddl}|j#tjdYd}~yd}~wwxYw)zMain entry pointguizStarting DaemonControl GUI...Fr z DaemonControl - Full GUI Modez Features:u/ 📊 Dashboard - Overview and statisticsu/ ⚙️ Jobs - Manage scheduled jobsu+ 📜 History - View execution logsu* 🔔 System Tray - Background controlu1Use File → Exit or system tray → Exit to quitzGUI started successfullyzGUI interrupted by userz Shutdown requested by userrzGUI startup failed: T)exc_infoz ERROR: N)rinforsysargvsetQuitOnLastWindowClosedrr rshowshow_main_windowexitexecKeyboardInterrupt Exceptionerror traceback print_exc)loggerapptray_availabletray_apper s rmainr'.sq % F KK/01388$ %%e,56 h /0 h  -.  k ?@ ?@ ;<  > ?  AB !?  MMO !!# ./   -. ,-   +A3/$ ? !o  sD,E :G&G&A G!!G&__main__)__doc__rpathlibr__file__parent project_rootpathinsertstrPyQt6.QtWidgetsrrrrcorerboolrr'__name__r rrr5si H~$$ 3|$%9T.6r zFr