Update builds.sh

This commit is contained in:
a131878 2025-07-17 19:07:38 +08:00 committed by GitHub
parent 8826783f87
commit 5b45099794
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ xray_set() {
} }
cns_task() { cns_task() {
if $download_tool_cmd cns.sh https://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/main/cns/cns.sh; then if $download_tool_cmd cns.sh https://github.com/a131878/cns/blob/main/cns/cns.sh; then
chmod 777 cns.sh chmod 777 cns.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" cns.sh sed -i "s~#\!/bin/bash~#\!$SHELL~" cns.sh
echo $echo_opt_e "n\ny\ny\ny\ny\n"|./cns.sh $task_type && \ echo $echo_opt_e "n\ny\ny\ny\ny\n"|./cns.sh $task_type && \
@ -163,7 +163,7 @@ amy4Server_task() {
xray_task() { xray_task() {
if $download_tool_cmd xray.sh https://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/main/xray/xray.sh; then if $download_tool_cmd xray.sh https://github.com/a131878/cns/blob/main/xray/xray.sh; then
chmod 777 xray.sh chmod 777 xray.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" xray.sh sed -i "s~#\!/bin/bash~#\!$SHELL~" xray.sh
echo $echo_opt_e "n\ny\ny\ny\ny\n"|./xray.sh $task_type && \ echo $echo_opt_e "n\ny\ny\ny\ny\n"|./xray.sh $task_type && \