update download link

main
yanglc 2023-08-29 17:56:10 +08:00
parent 5f30580bfb
commit 34db450f6f
2 changed files with 5 additions and 5 deletions

View File

@ -111,8 +111,8 @@ function Install_ct() {
mv gost-linux-"$bit"-"$ct_new_ver" gost
mv gost /usr/bin/gost
chmod -R 777 /usr/bin/gost
wget --no-check-certificate https://raw.githubusercontent.com/yangliuchang/xbbox/main/gost.service && chmod -R 777 gost.service && mv gost.service /usr/lib/systemd/system
mkdir /etc/gost && wget --no-check-certificate https://raw.githubusercontent.com/yangliuchang/xbbox/main/config.json && mv config.json /etc/gost && chmod -R 777 /etc/gost
wget --no-check-certificate https://git.igewu.org/yanglc/xbbox/raw/branch/main/gost.service && chmod -R 777 gost.service && mv gost.service /usr/lib/systemd/system
mkdir /etc/gost && wget --no-check-certificate https://git.igewu.org/yanglc/xbbox/raw/branch/main/config.json && mv config.json /etc/gost && chmod -R 777 /etc/gost
fi
systemctl enable gost && systemctl restart gost

View File

@ -82,7 +82,7 @@ install_docker() {
run_gost() {
# 下载脚本
curl -fsSL http://example.com -o rungost.sh
curl -fsSL https://git.igewu.org/yanglc/xbbox/raw/branch/main/rungost.sh -o rungost.sh
# 添加可执行权限并运行脚本
chmod +x rungost.sh
@ -92,13 +92,13 @@ run_gost() {
self_cert() {
# 下载脚本
curl -fsSL http://example.com -0 selfcert.sh
curl -fsSL https://git.igewu.org/yanglc/xbbox/raw/branch/main/selfcert.sh -0 selfcert.sh
chmod +x selfsert.sh
./selfcert.sh
}
wginstall(){
curl -fsSL http://example.com -0 wginstall.sh
curl -fsSL https://git.igewu.org/yanglc/xbbox/raw/branch/main/wginstall.sh -0 wginstall.sh
chmod +x wginstall.sh
./wginstall.sh