Commit c87dfdf8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play webcord: add aarch64 support

parent f8830286
#!/bin/sh
PKGNAME=WebCord
SUPPORTEDARCHES="x86_64"
SUPPORTEDARCHES="x86_64 arm64"
VERSION="$2"
DESCRIPTION="A Discord and Spacebar client implemented directly without Discord API from the official github"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
case "$arch" in
x86_64)
arch=x64
;;
aarch64)
arch=arm64
;;
*)
fatal "$arch arch is not supported"
;;
esac
pkgtype=AppImage
PKGURL=$(epm tool eget --list --latest https://github.com/SpacingBat3/WebCord/releases "WebCord-$VERSION-x64.$pkgtype")
PKGURL=$(epm tool eget --list --latest https://github.com/SpacingBat3/WebCord/releases "WebCord-$VERSION-$arch.$pkgtype")
[ -n "$PKGURL" ] || fatal "Can't get package URL"
epm install "$PKGURL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment