webcord.sh 597 Bytes
Newer Older
X1mper's avatar
X1mper committed
1 2 3
#!/bin/sh

PKGNAME=WebCord
4
SUPPORTEDARCHES="x86_64 arm64"
X1mper's avatar
X1mper committed
5 6
VERSION="$2"
DESCRIPTION="A Discord and Spacebar client implemented directly without Discord API from the official github"
7
URL="https://github.com/SpacingBat3/WebCord"
X1mper's avatar
X1mper committed
8 9 10

. $(dirname $0)/common.sh

11 12 13 14 15 16 17 18 19 20 21 22 23 24
arch="$(epm print info -a)"
case "$arch" in
    x86_64)
        arch=x64
        ;;
    aarch64)
        arch=arm64
        ;;
    *)
        fatal "$arch arch is not supported"
        ;;
esac


X1mper's avatar
X1mper committed
25 26
pkgtype=AppImage

27
PKGURL=$(eget --list --latest https://github.com/SpacingBat3/WebCord/releases "WebCord-$VERSION-$arch.$pkgtype")
X1mper's avatar
X1mper committed
28

29
install_pkgurl