更新 builds.sh

This commit is contained in:
dongge 2025-07-24 00:03:21 +00:00
parent 7b6a699ec2
commit b311535047

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/cns/cns.sh; then if $download_tool_cmd cns.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/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 && \
@ -149,7 +149,7 @@ cns_task() {
amy4Server_task() { amy4Server_task() {
if $download_tool_cmd amy4Server.sh https://github.com/a131878/cns/blob/main/amy/amy4Server.sh; then if $download_tool_cmd amy4Server.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/main/amy/amy4Server.sh; then
chmod 777 amy4Server.sh chmod 777 amy4Server.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" amy4Server.sh sed -i "s~#\!/bin/bash~#\!$SHELL~" amy4Server.sh
echo $echo_opt_e "n"|./amy4Server.sh $task_type && \ echo $echo_opt_e "n"|./amy4Server.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/xray/xray.sh; then if $download_tool_cmd xray.sh https://git.dihe.moe/dongge/cns_xbl/raw/branch/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 && \