"""Entry point for: python -m meeting_helper.flet_gui"""

# Fix SSL certificate verification for Flet client download
import os
import ssl
try:
    import certifi
    os.environ.setdefault("SSL_CERT_FILE", certifi.where())
    os.environ.setdefault("REQUESTS_CA_BUNDLE", certifi.where())
except ImportError:
    # certifi not available — disable SSL verification as last resort
    # (only affects Flet client download, not user data)
    ssl._create_default_https_context = ssl._create_unverified_context

from meeting_helper.config import get_config
from meeting_helper.flet_gui.app import run_flet_gui

run_flet_gui(get_config())
