bash/usr-local-bin/element: workaround my Electron curse

This commit is contained in:
Aminda Suomalainen 2022-04-15 14:36:14 +03:00
parent 6766f3f40e
commit 4fbda842fd
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -8,5 +8,6 @@ set -x
#/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 $@
# Also workaround my electron curse
flatpak run im.riot.Riot --disable-gpu --proxy-server=socks5://127.0.0.1:9050 $@
set +x