Skip to content

Commit 1742c19

Browse files
committed
update
1 parent bc4244c commit 1742c19

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

docs/readmeCN.md

+7
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
- 安装或卸载某个版本的sdk;
4343
- 在不同版本的sdk之间切换;
4444
- 支持session模式,即在某个终端会话临时激活并使用某个版本。可使用**vmr use -h**命令查看如何使用。默认global模式,即全局生效;
45+
- 支持在某个项目中锁定sdk版本,当使用**cd**命令切换至该项目下的任何位置时,自动开启新的终端session,并切换到锁定版本(请注意尽量退出session后切换目录,不要嵌套session,虽然支持嵌套);
4546
- 一键管理环境变量;
4647
- 对neovim和vscode用户友好,可以一键安装neovim和vscode。同时,neovim中一些明星插件的安装也可以一键完成,例如fd,ripgrep,tree-sitter,fzf等;
4748
- 相比其他版本管理器来说要更稳定;
@@ -89,6 +90,7 @@
8990
| **cygwin-installer** | ✅︎ | ❌︎ |
9091
| **msys2-installer** | ✅︎ | ❌︎ |
9192
| **julia** | ✅︎ | ❌︎ |
93+
| **odin** | ✅︎ | ❌︎ |
9294
| **typst** | ✅︎ | ❌︎ |
9395
| **typst-lsp** | ✅︎ | ❌︎ |
9496
| **typst-preview** | ✅︎ | ❌︎ |
@@ -154,6 +156,11 @@ vmr set-reverse-proxy https://gvc.1710717.xyz/proxy/
154156
vmr use -mirror-in-china [email protected]
155157
```
156158

159+
- **一键更新功能**
160+
```bash
161+
vmr-update
162+
```
163+
157164
------
158165

159166
<p id="6"></p>

readme.md

+8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Maybe you've already heard of **fnm**, **sdkman**, **gvm**, **nvm**, **pyenv**,
4242
- Installs or uninstalls versions of sdk.
4343
- Swithes between versions of sdk.
4444
- Using a version only in current terminal session is supported. See with command **vmr use -h**.
45+
- Lock sdk version for a project, and autoswithed sdk version while **cd**.
4546
- Handles envs.
4647
- Friendly to VSCoders or Neovimers.
4748
- Downloads files blazingly fast🚀🚀🚀 with multi-threads. See with command **vmr use -h**.
@@ -84,6 +85,7 @@ Maybe you've already heard of **fnm**, **sdkman**, **gvm**, **nvm**, **pyenv**,
8485
| **cygwin-installer** | ✅︎ | ❌︎ |
8586
| **msys2-installer** | ✅︎ | ❌︎ |
8687
| **julia** | ✅︎ | ❌︎ |
88+
| **odin** | ✅︎ | ❌︎ |
8789
| **typst** | ✅︎ | ❌︎ |
8890
| **typst-lsp** | ✅︎ | ❌︎ |
8991
| **typst-preview** | ✅︎ | ❌︎ |
@@ -201,6 +203,12 @@ $HOME/.vm/
201203
Specified during installation of **vmr**. Use "$HOME/.vm" by default.
202204
![installation](https://cdn.jsdelivr.net/gh/moqsien/img_repo@main/vmr_install.png)
203205

206+
- **update**
207+
208+
```bash
209+
vmr-update
210+
```
211+
204212
------
205213

206214
<p id="8"></p>

scripts/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if ( "$sysType" -match "arm" )
2929
$arch="arm64"
3030
}
3131

32-
$version="v0.1.6"
32+
$version="v0.1.7"
3333

3434
$filename="vmr_windows-" + $arch + ".zip"
3535
$download_url="https://gvc.1710717.xyz/proxy/https://github.com/gvcgo/version-manager/releases/download/"

scripts/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ main() {
4444
local os_type="$(uname -s)"
4545
local os_arch="$(uname -m)"
4646

47-
local version="v0.1.6"
47+
local version="v0.1.7"
4848

4949
local download_url="https://gvc.1710717.xyz/proxy/https://github.com/gvcgo/version-manager/releases/download/"
5050
local osType="linux"

0 commit comments

Comments
 (0)