mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
telegram-desktop: fix running official Telegram in elif
This commit is contained in:
parent
58cdc9dceb
commit
cbd0a6ef02
@ -10,7 +10,7 @@ elif [ -f ~/.local/share/flatpak/exports/bin/io.github.tdesktop_x64.TDesktop ];
|
||||
elif [ -f /usr/bin/telegram-desktop ]; then
|
||||
/usr/bin/telegram-desktop "$@"
|
||||
elif [ -f /var/lib/flatpak/exports/bin/org.telegram.desktop ]; then
|
||||
flatpak run io.github.tdesktop_x64.TDesktop "$@"
|
||||
flatpak run org.telegram.desktop "$@"
|
||||
elif [ -f ~/.local/share/flatpak/exports/bin/org.telegram.desktop ]; then
|
||||
flatpak run --user org.telegram.desktop "$@"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user