From 89c60e89cbca485bd228df7e714c352753f4fd23 Mon Sep 17 00:00:00 2001 From: darkclip Date: Wed, 7 Feb 2024 22:59:02 +0800 Subject: [PATCH] update --- wg-watch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wg-watch.sh b/wg-watch.sh index 808d1d67..b36d829a 100755 --- a/wg-watch.sh +++ b/wg-watch.sh @@ -112,8 +112,8 @@ generate_ips(){ speedtest(){ exe_file='/var/tmp/warp'; result_file='/var/tmp/result.csv' - if [ ! -x "$exe_file" ]; then - curl -SfLo "$exe_file" "https://git.tink.ltd:8443/netlist.git/tree/warp-$1?raw=true&h=better-warp-ip" 2>&1; + if [ ! -x "$exe_file" ]; thens + curl -SfLo "$exe_file" "https://git.tink.ltd:8443/tink/netlist/raw/branch/better-warp-ip/warp-$1" 2>&1; fi; ulimit -n 102400; chmod +x "$exe_file" && "$exe_file" -file "$2" -output "$result_file" >/dev/null 2>&1;