mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-26 04:59:38 +01:00
bash/usr-local-bin/fluffychat: remove mention of flatpak
This commit is contained in:
parent
f323f38061
commit
6ae31c436d
@ -1,16 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Flutter doesn't support flatpak, so Snap is the least bad Fluffy experience.
|
# Flutter doesn't support flatpak, so Snap is the least bad Fluffy experience.
|
||||||
# I presume repo version is always outdated, so fallback to flathub s less
|
|
||||||
# bad.
|
|
||||||
|
|
||||||
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
|
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||||
unset DBUS_SESSION_BUS_ADDRESS
|
unset DBUS_SESSION_BUS_ADDRESS
|
||||||
snap run fluffychat $@
|
snap run fluffychat $@
|
||||||
elif [ -f /var/lib/flatpak/exports/bin/im.fluffychat.Fluffychat ]; then
|
|
||||||
flatpak run im.fluffychat.Fluffychat $@
|
|
||||||
else
|
else
|
||||||
/usr/bin/fluffychat
|
/usr/bin/fluffychat
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user