Skip to content

Commit

Permalink
v2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cnk3x committed Apr 19, 2022
1 parent 2a3987b commit 5dc8531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

set -eu

latest=v2.6.1
#latest=$(curl -fsSL https://api.github.com/repos/cnk3x/xunlei/releases/latest | grep browser_download_url | grep $(uname -m) | head -n 1 | grep -Eo https.+.tar.gz | sed 's|github.com|mirror.ghproxy.com/https://github.com|g')
latest=https://mirror.ghproxy.com/https://github.com/cnk3x/xunlei/releases/download/v2.4.5/xunlei-v2.4.5.linux.x86_64.tar.gz
latest=https://mirror.ghproxy.com/https://github.com/cnk3x/xunlei/releases/download/v2.6.1/xunlei-v2.6.1.linux.x86_64.tar.gz
echo "download: $latest"
curl -fsSL ${latest} | tar zx
./xunlei $@
Expand Down

0 comments on commit 5dc8531

Please sign in to comment.