[arch-commits] Commit in telegram-desktop/trunk (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 20 13:30:39 UTC 2017


    Date: Wednesday, December 20, 2017 @ 13:30:38
  Author: svenstaro
Revision: 275004

upgpkg: telegram-desktop 1.2.1-1

Added:
  telegram-desktop/trunk/telegram-desktop.desktop
  telegram-desktop/trunk/telegram-desktop.install

--------------------------+
 telegram-desktop.desktop |   20 ++++++++++++++++++++
 telegram-desktop.install |   10 ++++++++++
 2 files changed, 30 insertions(+)

Added: telegram-desktop.desktop
===================================================================
--- telegram-desktop.desktop	                        (rev 0)
+++ telegram-desktop.desktop	2017-12-20 13:30:38 UTC (rev 275004)
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Telegram
+Comment=Official desktop version of Telegram messaging app
+Categories=Network;
+Keywords=messaging
+TryExec=/usr/bin/telegram-desktop
+Exec=/usr/bin/telegram-desktop -- %u
+Icon=telegram-desktop
+MimeType=x-scheme-handler/tg;
+Actions=Homepage;Twitter;
+
+[Desktop Action Homepage]
+Exec=xdg-open https://telegram.org
+Name=Telegram Homepage
+
+[Desktop Action Twitter]
+Exec=xdg-open https://twitter.com/telegram
+Name=Telegram on Twitter

Added: telegram-desktop.install
===================================================================
--- telegram-desktop.install	                        (rev 0)
+++ telegram-desktop.install	2017-12-20 13:30:38 UTC (rev 275004)
@@ -0,0 +1,10 @@
+post_install () {
+    cat <<EOF
+Telegram will crash if you only have libappindicator-gtk2 installed.
+Either remove libappindicator-gtk2, or install libappindicator-gtk3 to avoid the crash.
+EOF
+}
+
+post_upgrade () {
+    post_install
+}



More information about the arch-commits mailing list