"""
py2app-Build fuer HeronVPN.app (Menuebar-Only, kein Dock-Icon via LSUIElement).

Bauen:  cd ~/apps && bash build_heron_app.sh
"""
from setuptools import setup

APP = ["heron_vpn_tray.py"]
DATA_FILES = ["heron_gp_saml.py", "heron_mask.png"]   # Auth-Prozess + Icon-Maske
OPTIONS = {
    "iconfile": "icon_heron.icns",
    "packages": ["PyQt6"],
    "plist": {
        "CFBundleName": "HeronVPN",
        "CFBundleDisplayName": "HeronVPN",
        "CFBundleIdentifier": "com.heron.vpntray",
        "CFBundleShortVersionString": "1.0",
        "CFBundleVersion": "1",
        "LSUIElement": True,
        "NSHighResolutionCapable": True,
    },
}

setup(
    app=APP,
    name="HeronVPN",
    data_files=DATA_FILES,
    options={"py2app": OPTIONS},
    setup_requires=["py2app"],
)
