Skip to content

Commit

Permalink
fix: github mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Feb 17, 2025
1 parent 2c46742 commit b1e3bc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions script/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -22,7 +22,7 @@ function Init() {
exit
fi
VERSION="latest"
GH_PROXY="https://mirror.ghproxy.com/"
GH_PROXY="https://ghfast.top/"
InitOS
InitArch
InitDownloadTools
Expand Down

0 comments on commit b1e3bc1

Please sign in to comment.