Skip to content

Commit

Permalink
Use log file to detect Telegram install
Browse files Browse the repository at this point in the history
With the official tarball we can extract the binaries anywhere, so we need to
rely on something else than the binaries path to detect a Telegram install.

Fix bilelmoussaoui#335
  • Loading branch information
vayan committed Mar 28, 2017
1 parent 5d9f8c2 commit 95561d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/telegram.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"app_path": [
"{userhome}/.TelegramDesktop/Telegram",
"{userhome}/.local/share/TelegramDesktop/Telegram",
"{userhome}/.local/share/TelegramDesktop/log.txt",
"/usr/bin/telegram-desktop",
"/opt/telegram/Telegram"
],
Expand Down

0 comments on commit 95561d5

Please sign in to comment.