fluffychat: add workaround for pad.lv/1951491

This commit is contained in:
Aminda Suomalainen 2024-02-25 12:17:04 +02:00
parent 4dca8bec02
commit f323f38061
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -6,6 +6,8 @@
set -x set -x
if [ -f /snap/bin/fluffychat ]; then if [ -f /snap/bin/fluffychat ]; then
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
unset DBUS_SESSION_BUS_ADDRESS
snap run fluffychat $@ snap run fluffychat $@
elif [ -f /var/lib/flatpak/exports/bin/im.fluffychat.Fluffychat ]; then elif [ -f /var/lib/flatpak/exports/bin/im.fluffychat.Fluffychat ]; then
flatpak run im.fluffychat.Fluffychat $@ flatpak run im.fluffychat.Fluffychat $@