fix: update online installation source URL to Gitea
Main / build (push) Waiting to run

This commit is contained in:
2026-07-08 00:05:48 +08:00
parent a3e048b949
commit bb682d3f63
+2 -2
View File
@@ -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