chatgpt-desktop.sh 537 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

PKGNAME=chat-gpt
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='Unofficial ChatGPT Desktop Application from the official site'
URL="https://github.com/lencx/ChatGPT"

. $(dirname $0)/common.sh

11 12 13
is_openssl_enough 3 || fatal "There is no needed OpenSSL 3 in the system."

# https://github.com/lencx/ChatGPT/releases/download/v1.0.0/ChatGPT_1.0.0_linux_x86_64.deb
14
PKGURL=$(eget --list --latest https://github.com/lencx/ChatGPT/releases/ "ChatGPT_${VERSION}_linux_x86_64.deb") || fatal "Can't get package URL"
15

16
install_pkgurl