Opt: install script url

pull/41/head
zijiren233 2 years ago
parent c258f22e45
commit a2d71e59db

@ -60,7 +60,7 @@ https://demo.synctv.wiki
您可以使用该脚本来安装和运行 SyncTV。 您可以使用该脚本来安装和运行 SyncTV。
```bash ```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 ## Docker

@ -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. You can use the script to install and run SyncTV.
```bash ```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 ## Docker

@ -6,7 +6,7 @@ download_tools_list=(
) )
function Help() { 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 "-h: help"
echo "-v: install version (default: latest)" echo "-v: install version (default: latest)"
echo "-p: github proxy (default: https://mirror.ghproxy.com/)" echo "-p: github proxy (default: https://mirror.ghproxy.com/)"

Loading…
Cancel
Save