#!/bin/sh
PKGNAME=vdhcoapp
SUPPORTEDARCHES="x86_64 aarch64"
VERSION="$2"
DESCRIPTION="Video DownloadHelper Companion App 2"
URL="https://www.downloadhelper.net/install-coapp-v2"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
mask="$PKGNAME-${VERSION}-linux-$arch.deb"
PKGURL=$(eget --list --latest https://github.com/mi-g/vdhcoapp/releases/ $mask) || fatal "Can't get package URL"
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
epm install $repack "$PKGURL"
-
Vitaly Lipatov authored3d8af9cf