Update builds.sh

This commit is contained in:
windyday 2025-06-22 02:42:32 +08:00 committed by GitHub
parent 8560f4cb8e
commit c91aa95fc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ xray_set() {
}
cns_task() {
if $download_tool_cmd cns.sh https://github.010507.xyz/https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/cns/cns.sh; then
if $download_tool_cmd cns.sh https://gh.0507.dpdns.org/https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/cns/cns.sh; then
chmod 777 cns.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" cns.sh
echo $echo_opt_e "n\ny\ny\ny\ny\n"|./cns.sh $task_type && \
@ -149,7 +149,7 @@ cns_task() {
amy4Server_task() {
if $download_tool_cmd amy4Server.sh https://github.010507.xyz/https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/amy/amy4Server.sh; then
if $download_tool_cmd amy4Server.sh https://gh.0507.dpdns.org/https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/amy/amy4Server.sh; then
chmod 777 amy4Server.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" amy4Server.sh
echo $echo_opt_e "n"|./amy4Server.sh $task_type && \
@ -163,7 +163,7 @@ amy4Server_task() {
xray_task() {
if $download_tool_cmd xray.sh https://github.010507.xyz/https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/xray/xray.sh; then
if $download_tool_cmd xray.sh https://gh.0507.dpdns.org/https://raw.githubusercontent.com/CoverUp137/cns/refs/heads/main/xray/xray.sh; then
chmod 777 xray.sh
sed -i "s~#\!/bin/bash~#\!$SHELL~" xray.sh
echo $echo_opt_e "n\ny\ny\ny\ny\n"|./xray.sh $task_type && \