Fix tray visibility and message reception issues
Some checks failed
build / build-win64 (push) Waiting to run
build / build-macos (push) Waiting to run
build / build-pip (push) Failing after 16s

- Disable sound initialization to prevent hanging
- Add missing import re in utils.py
- Fix settings loading for QSettings
- Update file paths to use PROJECT_ROOT
- Revert to working API paths and listener from commit efdc63e
This commit is contained in:
kdusek
2025-12-07 22:39:07 +01:00
parent 7b695d7b7f
commit 5138303016
4060 changed files with 579123 additions and 23 deletions

View File

@@ -8,12 +8,13 @@ def main():
print(__version__)
else:
# Check for display before importing GUI modules
if not os.environ.get("DISPLAY"):
if not (os.environ.get("DISPLAY") or os.environ.get("WAYLAND_DISPLAY")):
print(
"Error: No display environment detected. This application requires a graphical desktop environment to run.",
file=sys.stderr,
)
sys.exit(1)
print("Launching GUI")
from gotify_tray.gui import start_gui
start_gui()