hiddify.sh 607 Bytes
Newer Older
Valentin Pechenov's avatar
Valentin Pechenov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh
PKGNAME=hiddify
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Кроссплатформенный прокси-клиент на основе ядра Sing-box"
URL="https://github.com/hiddify/hiddify-next"

. $(dirname $0)/common.sh

if ! is_glibc_enough 2.32 ; then
	fatal "Версия glibc слишком старая, обновите свою систему"
fi

if [ "$VERSION" = "*" ] ; then
15
	VERSION="$(get_github_tag https://github.com/hiddify/hiddify-next/)"
Valentin Pechenov's avatar
Valentin Pechenov committed
16 17
fi

Valentin Pechenov's avatar
Valentin Pechenov committed
18
PKGURL="https://github.com/hiddify/hiddify-next/releases/download/v$VERSION/Hiddify-Debian-x64.deb"
Valentin Pechenov's avatar
Valentin Pechenov committed
19 20

install_pkgurl