projects
/
moonshot-ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modify the launcher script to export the DBUS_SESSION_BUS_ADDRESS environment variable
[moonshot-ui.git]
/
mac
/
launcher.sh
diff --git
a/mac/launcher.sh
b/mac/launcher.sh
index
d92f9e5
..
88baf22
100755
(executable)
--- a/
mac/launcher.sh
+++ b/
mac/launcher.sh
@@
-165,4
+165,8
@@
if /bin/expr "x$1" : '^x-psn_' > /dev/null; then
shift 1
fi
+# The app needs to know the DBUS Session bus address
+DBUS_SESSION_BUS_ADDRESS=unix:path=$(launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET)
+export DBUS_SESSION_BUS_ADDRESS
+
$EXEC "$bundle_contents/MacOS/$name-bin" "$@" $EXTRA_ARGS