diff --git a/rungost.sh b/rungost.sh index cbc2e0a..92949b6 100644 --- a/rungost.sh +++ b/rungost.sh @@ -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 diff --git a/xbbox.sh b/xbbox.sh index c294c27..463c6cc 100644 --- a/xbbox.sh +++ b/xbbox.sh @@ -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