upkernel clash function: added busybox before the wget command to run it with busybox

This commit is contained in:
dependabot-preview[bot]
2023-10-24 18:24:08 +07:00
parent e4e77b8906
commit 213c880819

View File

@@ -359,7 +359,7 @@ upkernel() {
download_link="https://github.com/MetaCubeX/Clash.Meta/releases"
if [ "${clash_meta_stable}" = "enable" ]; then
latest_version=$(wget --no-check-certificate -qO- "https://api.github.com/repos/MetaCubeX/Clash.Meta/releases" | grep "tag_name" | grep -o "v[0-9.]*" | head -1)
latest_version=$(busybox wget --no-check-certificate -qO- "https://api.github.com/repos/MetaCubeX/Clash.Meta/releases" | grep "tag_name" | grep -o "v[0-9.]*" | head -1)
tag="$latest_version"
else
if [ "$use_ghproxy" == true ]; then