diff --git a/docs/content/en/getting-started/installation.md b/docs/content/en/getting-started/installation.md index bb048a39ca..20d515c0de 100644 --- a/docs/content/en/getting-started/installation.md +++ b/docs/content/en/getting-started/installation.md @@ -16,13 +16,13 @@ weight: 10 #### Install latest version {{< command >}} -iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1 | iex +iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1 | iex {{< /command >}} #### Install with `ghproxy.com` {{< command >}} -$Script=iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1; +$Script=iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1; $Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -ArgumentList "", "$True" {{< /command >}} @@ -30,7 +30,7 @@ $Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -Argum {{< command >}} $Env:TDLVersion = "VERSION" -$Script=iwr -useb https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1; +$Script=iwr -useb https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.ps1; $Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -ArgumentList "$Env:TDLVersion" {{< /command >}} @@ -42,19 +42,19 @@ $Block=[ScriptBlock]::Create($Script); Invoke-Command -ScriptBlock $Block -Argum #### Install latest version {{< command >}} -curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash +curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash {{< /command >}} #### Install with `ghproxy.com` {{< command >}} -curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --proxy +curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --proxy {{< /command >}} #### Install specific version {{< command >}} -curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --version VERSION +curl -sSL https://raw.githubusercontent.com/iyear/tdl/master/scripts/install.sh | sudo bash -s -- --version VERSION {{< /command >}} {{< /tab >}} diff --git a/docs/content/en/guide/global-config.md b/docs/content/en/guide/global-config.md index 778d3acff2..df2cc03aa6 100644 --- a/docs/content/en/guide/global-config.md +++ b/docs/content/en/guide/global-config.md @@ -19,12 +19,14 @@ tdl -n iyear ## `--proxy` -Set the proxy. Only support `socks5` now. Default: `""`. +Set the proxy. Default: `""`. Format: `protocol://username:password@host:port` {{< command >}} tdl --proxy socks5://localhost:1080 +tdl --proxy http://localhost:8080 +tdl --proxy https://localhost:8081 {{< /command >}} ## `--ntp` @@ -57,10 +59,10 @@ tdl --debug ## `--pool` -Set the DC pool size of Telegram client. Default: `3`. +Set the DC pool size of Telegram client. Default: `8`. -{{< hint warning >}} -DO NOT set it too large, or tdl may be forced to quit by Telegram. +{{< hint info >}} +Set higher timeout or 0(INF) if you want faster speed. {{< /hint >}} {{< command >}} diff --git a/docs/content/en/guide/migration.md b/docs/content/en/guide/migration.md index d8dd41995a..c8bf905138 100644 --- a/docs/content/en/guide/migration.md +++ b/docs/content/en/guide/migration.md @@ -9,7 +9,7 @@ Backup or recover your data ## Backup -Backup your data to a zip file. Default: `tdl-backup-