projects/vpn: browsergebundene VPN-Tray-Apps (Wuerth/Heron) + Build-Scripts

This commit is contained in:
marcus.hinz
2026-06-25 14:34:54 +02:00
parent 4ae1b76049
commit d64b27ab88
10 changed files with 1138 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
"""
py2app-Build fuer WuerthVPN.app (Menuebar-Only, kein Dock-Icon via LSUIElement).
Bauen:
cd ~/apps
/Library/Developer/CommandLineTools/usr/bin/python3 setup.py py2app
Ergebnis: ~/apps/dist/WuerthVPN.app
"""
from setuptools import setup
APP = ["wuerth_vpn_tray.py"]
DATA_FILES = ["wuerth.png"]
OPTIONS = {
"iconfile": "icon.icns",
"packages": ["PyQt6"],
"plist": {
"CFBundleName": "WuerthVPN",
"CFBundleDisplayName": "WuerthVPN",
"CFBundleIdentifier": "com.wuerth.vpntray",
"CFBundleShortVersionString": "1.0",
"CFBundleVersion": "1",
"LSUIElement": True,
"NSHighResolutionCapable": True,
},
}
setup(
app=APP,
name="WuerthVPN",
data_files=DATA_FILES,
options={"py2app": OPTIONS},
setup_requires=["py2app"],
)