From a2d71e59dbf5445c2b4bb009c3c92fc9e4cffbc3 Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Tue, 5 Dec 2023 18:19:01 +0800 Subject: [PATCH] Opt: install script url --- README-CN.md | 2 +- README.md | 2 +- script/install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README-CN.md b/README-CN.md index f84c725..7182d6a 100644 --- a/README-CN.md +++ b/README-CN.md @@ -60,7 +60,7 @@ https://demo.synctv.wiki 您可以使用该脚本来安装和运行 SyncTV。 ```bash -sudo -v ; curl -fsSL https://raw.githubusercontent.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest +sudo -v ; curl -fsSL https://raw.gitmirror.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest ``` ## Docker diff --git a/README.md b/README.md index d100a7f..9c8f05d 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,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.githubusercontent.com/synctv-org/synctv/main/script/install.sh | sudo bash -s -- -v latest +sudo -v ; curl -fsSL https://raw.gitmirror.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 002baa8..c01e5b2 100755 --- a/script/install.sh +++ b/script/install.sh @@ -6,7 +6,7 @@ download_tools_list=( ) 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 "Usage: sudo -v ; curl -fsSL https://raw.gitmirror.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/)"