From bb682d3f63adb97be104f1d00ce367785ba26225 Mon Sep 17 00:00:00 2001 From: svefnz Date: Wed, 8 Jul 2026 00:05:48 +0800 Subject: [PATCH] fix: update online installation source URL to Gitea --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 79cbe3c..4e14710 100644 --- a/install.sh +++ b/install.sh @@ -176,7 +176,7 @@ download() { is_ok=$is_core_ok ;; sh) - link=https://github.com/${is_sh_repo}/releases/latest/download/code.tar.gz + link=https://git.lll.rest/svefnz/sing-box/archive/main.tar.gz name="$is_core_name 脚本" tmpfile=$tmpsh is_ok=$is_sh_ok @@ -407,7 +407,7 @@ main() { if [[ $local_install ]]; then cp -rf $PWD/* $is_sh_dir else - tar zxf $is_sh_ok -C $is_sh_dir + tar zxf $is_sh_ok --strip-components 1 -C $is_sh_dir fi # create core bin dir