64gram.sh 452 Bytes
Newer Older
Vitaly Lipatov's avatar
Vitaly Lipatov committed
1 2 3 4
#!/bin/sh

PKGNAME=64Gram
SUPPORTEDARCHES="x86_64"
5
VERSION="$2"
Vitaly Lipatov's avatar
Vitaly Lipatov committed
6
DESCRIPTION="64Gram (unofficial Telegram Desktop)"
7
TIPS="Run 'epm play 64gram=<version>' to install the version of the 64Gram Telegram client."
Vitaly Lipatov's avatar
Vitaly Lipatov committed
8 9 10 11 12 13

. $(dirname $0)/common.sh

PKGURL=$(epm tool eget --list --latest https://github.com/TDesktop-x64/tdesktop/releases "${PKGNAME}_${VERSION}_linux.zip") #"
[ -n "$PKGURL" ] || fatal "Can't get package URL"

14
epm --install pack $PKGNAME "$PKGURL"