bash/usr-local-bin/element: prefer flatpak

This commit is contained in:
Aminda Suomalainen 2022-03-18 15:51:33 +02:00
parent c3a72447c7
commit 5d41a732e1
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@
set -x
# proxy authentication is not supported
# https://github.com/vector-im/element-web/issues/3320
/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@
#flatpak run im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 $@
#/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@
# Flatpak is preferred for Element not having official Fedora repositories
# and at the time of writing being unmaintained in upstream suggested repo.
flatpak run im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 $@
set +x