mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-02 22:04:40 +08:00
support set log level
This commit is contained in:
@@ -159,7 +159,7 @@ install_pkg() {
|
||||
download() {
|
||||
case $1 in
|
||||
core)
|
||||
[[ ! $is_core_ver ]] && is_core_ver=$(_wget -qO- "https://api.github.com/repos/${is_core_repo}/releases/latest?v=$RANDOM" | grep tag_name | egrep -o 'v([0-9.]+)')
|
||||
[[ ! $is_core_ver ]] && is_core_ver=$(_wget -qO- "https://api.github.com/repos/${is_core_repo}/releases/latest?v=$RANDOM" | grep tag_name | grep -E -o 'v([0-9.]+)')
|
||||
[[ $is_core_ver ]] && link="https://github.com/${is_core_repo}/releases/download/${is_core_ver}/${is_core}-${is_core_ver:1}-linux-${is_arch}.tar.gz"
|
||||
name=$is_core_name
|
||||
tmpfile=$tmpcore
|
||||
|
||||
Reference in New Issue
Block a user