From 213c880819bf3a74f32633625b3a968db32d0bf8 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 18:24:08 +0700 Subject: [PATCH] upkernel clash function: added `busybox` before the `wget` command to run it with busybox --- box/scripts/box.tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/box/scripts/box.tool b/box/scripts/box.tool index 8b295bd..1569ca3 100755 --- a/box/scripts/box.tool +++ b/box/scripts/box.tool @@ -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