mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
DBus session needs to be started from a central place. On Mac OS, the recommended solution is launchd service since all dbus clients will query launchd for the session address first. All other solutions would be hacky. With this script, launchd will start dbus-daemon on demand and provide the enviromental variable DBUS_LAUNCHD_SESSION_BUS_SOCKET. We put this into the user launch agents folder to make it a user session. ref T170