diff --git a/pack-chrome.sh b/pack-chrome.sh index 899fa39..e769ddf 100755 --- a/pack-chrome.sh +++ b/pack-chrome.sh @@ -7,7 +7,9 @@ mkdir -p "${chrome_dir}" if [[ "${DBUS_SESSION_BUS_ADDRESS}test" == "test" ]] then - export DBUS_SESSION_BUS_ADDRESS="unix:path=${temp_dir}/dbus.sock" + export DBUS_SYSTEM_BUS_ADDRESS="unix:path=${temp_dir}/dbus-system.sock" + export DBUS_SESSION_BUS_ADDRESS="unix:path=${temp_dir}/dbus-session.sock" + dbus-daemon --system --address="${DBUS_SYSTEM_BUS_ADDRESS}" & dbus-daemon --session --address="${DBUS_SESSION_BUS_ADDRESS}" & fi