Update builds.sh
This commit is contained in:
parent
43cbc8a5d7
commit
fc1905d3fa
@ -135,7 +135,7 @@ xray_set() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cns_task() {
|
cns_task() {
|
||||||
if $download_tool_cmd cns.sh https://gh.0507.dpdns.org/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://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/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://gh.0507.dpdns.org/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://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/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://gh.0507.dpdns.org/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://github.com/a131878/cns/blob/main/builds.sh/CoverUp137/cns/refs/heads/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 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user