diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 2ec5207..9c1f2da 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -10,6 +10,7 @@ - Supports locking SDK version for each project. - Supports MacOS/Windows/Linux. - Interactive & Intuitive TUI. +- Supports proxy, multi-threads download, customized mirrors. - No plugins. - Faster & Easier & Stabler. diff --git a/docs/faq.md b/docs/faq.md index bd1b065..9424d9d 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -68,8 +68,18 @@ Of course. All the SDKs are downloaded from the **official websites**, or **gith VMR at now is not planning to provide anything like compilation from source code since stability issues cannot be avoided. You can also check the version info [here](https://github.com/gvcgo/vsources). -### 11. "Extract file failed" error occurs over and over again? +### 11. How to enable multi-thread download? -This may occur on windows. Try to **clear the cached files** in the **cache dir** for the SDK, and try to install the SDK again. +```bash +# Set thread number to 2. +vmr st 2 +``` + +### 12. How to toggle customized mirrors? -![clear_cache](https://proxy.vmr.us.kg/proxy/https://cdn.jsdelivr.net/gh/moqsien/img_repo@main/vmr_clear_cache.png) +Customized mirror is restored in $HOME/.vmr/customed_mirrors.toml, which allows you to use the download resources in your country. It is mainly for speeding up the downloads. + +```bash +# Toggle customized mirrors. +vmr tm +``` diff --git a/docs/zh-cn/_coverpage.md b/docs/zh-cn/_coverpage.md index 79db9ec..4700198 100644 --- a/docs/zh-cn/_coverpage.md +++ b/docs/zh-cn/_coverpage.md @@ -10,6 +10,7 @@ - 支持对每个项目锁定SDK版本。 - 支持MacOS/Windows/Linux。 - 符合直觉的交互式TUI,用户输入更少。 +- 支持代理设置,多线程下载,自定义下载源等。 - 无需插件,开箱即用。 - 更快,更简单,更稳定。 diff --git a/docs/zh-cn/faq.md b/docs/zh-cn/faq.md index 6019bf8..1300bf6 100644 --- a/docs/zh-cn/faq.md +++ b/docs/zh-cn/faq.md @@ -67,9 +67,18 @@ VMR的很多资源,包括版本信息仓库和VMR安装包,都来自github VMR暂时不会提供通过源码编译的功能,因为稳定性无法得到保证。 你可以在 [这里](https://github.com/gvcgo/vsources) 查看所有的版本SDK信息,包括具体SDK的下载地址。 -### 11. 为什么一直反复出现"Extract file failed"错误提示,无法安装某个SDK版本? +### 11. 如何设置多线程下载? -这出现在Windows上面的可能性比较多一点,因为有些Windows下面由于权限之类的,无法删除下载了一半的文件,导致了该问题的出现。 -尝试**清理掉VMR关于该SDK的缓存** 或者 **手动到cache文件夹下删除相关版本的缓存即可**,然后重新安装。 +```bash +# 设置下载线程数为2,默认为1 +vmr st 2 +``` + +### 12. 如何开启/关闭自定义下载源? -![clear_cache](https://proxy.vmr.us.kg/proxy/https://cdn.jsdelivr.net/gh/moqsien/img_repo@main/vmr_clear_cache.png) +自定义源存放于$HOME/.vmr/customed_mirrors.toml中。主要用于替换vsoure中的下载源,以达到加速下载的目的。前提是你自己知道更快速的下载源。 + +```bash +# 开启/关闭自定义下载源 +vmr tm +```