From b1e3bc1f098b77e112ca6cf7f69f756cbf3b97a0 Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Mon, 17 Feb 2025 16:55:12 +0800 Subject: [PATCH] fix: github mirror --- README-CN.md | 2 +- README.md | 2 +- script/install.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README-CN.md b/README-CN.md index 7936a7b..57aa457 100644 --- a/README-CN.md +++ b/README-CN.md @@ -77,7 +77,7 @@ SyncTV 的同步观影功能确保所有观看视频的人都在同一点上。 您可以使用该脚本来安装和运行 SyncTV。 ```bash -sudo -v ; curl -fsSL https://raw.gitmirror.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest +sudo -v ; curl -fsSL https://raw.githubusercontent.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest ``` ## Docker diff --git a/README.md b/README.md index 16cce49..9ad0382 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ You can download the latest binary from [release page](https://github.com/synctv You can use the script to install and run SyncTV. ```bash -sudo -v ; curl -fsSL https://raw.gitmirror.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest +sudo -v ; curl -fsSL https://raw.githubusercontent.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest ``` ## Docker diff --git a/script/install.sh b/script/install.sh index eb49397..481dbd8 100755 --- a/script/install.sh +++ b/script/install.sh @@ -9,7 +9,7 @@ function Help() { echo "Usage: sudo -v ; curl -fsSL https://raw.githubusercontent.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest" echo "-h: help" echo "-v: install version (default: latest)" - echo "-p: github proxy (default: https://mirror.ghproxy.com/)" + echo "-p: github proxy (default: https://ghfast.top/)" echo "-m: micro architecture (no default value)" echo " example: -m v2" echo " example: -m 6" @@ -22,7 +22,7 @@ function Init() { exit fi VERSION="latest" - GH_PROXY="https://mirror.ghproxy.com/" + GH_PROXY="https://ghfast.top/" InitOS InitArch InitDownloadTools