🌱Add https://ghproxy.com/
This commit is contained in:
parent
d4dae75314
commit
85a91c0e49
@ -13,7 +13,7 @@ task_before_shell_path=$dir_shell/task_before.sh
|
||||
if [ ! -a "$config_shell_path" ]; then
|
||||
touch $config_shell_path
|
||||
fi
|
||||
curl -s --connect-timeout 3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Conf/Qinglong/config.sample.sh > $config_shell_path
|
||||
curl -s --connect-timeout 3 https://ghproxy.com/https://raw.githubusercontent.com/Oreomeow/VIP/main/Conf/Qinglong/config.sample.sh > $config_shell_path
|
||||
cp $config_shell_path $dir_shell/config.sh
|
||||
|
||||
# 判断是否下载成功
|
||||
@ -28,7 +28,7 @@ fi
|
||||
if [ ! -a "$extra_shell_path" ]; then
|
||||
touch $extra_shell_path
|
||||
fi
|
||||
curl -s --connect-timeout 3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Tasks/qlrepo/extra.sh > $extra_shell_path
|
||||
curl -s --connect-timeout 3 https://ghproxy.com/https://raw.githubusercontent.com/Oreomeow/VIP/main/Tasks/qlrepo/extra.sh > $extra_shell_path
|
||||
cp $extra_shell_path $dir_shell/extra.sh
|
||||
|
||||
# 判断是否下载成功
|
||||
@ -61,7 +61,7 @@ fi
|
||||
if [ ! -a "$code_shell_path" ]; then
|
||||
touch $code_shell_path
|
||||
fi
|
||||
curl -s --connect-timeout 3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/Helpcode2.8/code.sh > $code_shell_path
|
||||
curl -s --connect-timeout 3 https://ghproxy.com/https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/Helpcode2.8/code.sh > $code_shell_path
|
||||
cp $code_shell_path $dir_shell/code.sh
|
||||
|
||||
# 判断是否下载成功
|
||||
@ -91,7 +91,7 @@ fi
|
||||
|
||||
|
||||
# 下载 task_before.sh
|
||||
curl -s --connect-timeout 3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/Helpcode2.8/task_before.sh > $task_before_shell_path
|
||||
curl -s --connect-timeout 3 https://ghproxy.com/https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/Helpcode2.8/task_before.sh > $task_before_shell_path
|
||||
|
||||
# 判断是否下载成功
|
||||
task_before_size=$(ls -l $task_before_shell_path | awk '{print $5}')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user