Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Jun 25, 2024
1 parent da935bf commit a400b26
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
16 changes: 13 additions & 3 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
1 change: 1 addition & 0 deletions docs/zh-cn/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- 支持对每个项目锁定SDK版本。
- 支持MacOS/Windows/Linux。
- 符合直觉的交互式TUI,用户输入更少。
- 支持代理设置,多线程下载,自定义下载源等。
- 无需插件,开箱即用。
- 更快,更简单,更稳定。

Expand Down
17 changes: 13 additions & 4 deletions docs/zh-cn/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit a400b26

Please sign in to comment.