ktalk.sh 640 Bytes
Newer Older
1 2
#!/bin/sh

3
PKGNAME=ktalk2022
4
SUPPORTEDARCHES="x86_64"
5 6 7 8 9 10
DESCRIPTION="Контур.Толк (ktalk) from the official site"

. $(dirname $0)/common.sh

URL="https://app.ktalk.ru/system/dist/download/linux"

11 12 13
# curl can't get filename: https://github.com/curl/curl/issues/8461
epm assure wget || fatal

14 15 16
# hack due ОШИБКА: невозможно проверить сертификат app.ktalk.ru, выпущенный «CN=RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1,O=DigiCert Inc,C=US»
PKGDIR="$(mktemp -d)"
cd $PKGDIR || fatal
17
epm tool eget --no-check-certificate "$URL" || fatal
18 19 20 21 22

epm install *.AppImage
RES=$?
rm -rf $PKGDIR
exit $RES