mirror of
https://github.com/plexguide/Huntarr.io.git
synced 2026-02-19 15:25:53 -05:00
- Fix system tray import: use importlib.util to load system_tray.py by file path instead of package import (PyInstaller bundles resources/ as data, not a Python package) - STA thread with CoInitializeEx for COM compatibility on tray thread - Installer kills running Huntarr.exe in .onInit AND before file copy (double-kill pattern for reliable upgrades) - Installer wipes old _internal/ dir and stale top-level binaries before copying new files (prevents stale file issues on upgrade) - Remove SW_SHOWMINIMIZED from shortcuts (app is windowless, tray is UI) - Add Stop Huntarr shortcut to Start Menu - Add /api/shutdown endpoint for clean shutdown from web UI - Add system_tray.py bundle verification in GitHub Actions - Detailed debug logging for tray module path resolution