Commit c2e53cfb authored by Valentin Pechenov's avatar Valentin Pechenov Committed by Vitaly Lipatov

epm play: add hiddify

parent 91d17830
#!/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
VERSION="$(eget --get-real-url -O- https://github.com/hiddify/hiddify-next/releases/latest | awk -F '/' '{print $(NF)}' | awk -F 'v' '{print $2}')"
fi
PKGURL=$(eget --list --latest https://github.com/hiddify/hiddify-next/releases/tag/v$VERSION "Hiddify-Debian-x64.deb")
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