From 4306fbd3cb0dce73ba828d0f6401fb640dc85792 Mon Sep 17 00:00:00 2001 From: moqsien Date: Fri, 14 Jun 2024 13:19:16 +0800 Subject: [PATCH] docs --- docs/faq.md | 7 +++++++ docs/zh-cn/faq.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index ad6bdc7..766f85a 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -38,3 +38,10 @@ Press the key that binds to version-locking, and you'll find a file named **.vmr ### 9. Why some of the SDKs on Windows can not run properly? For example, agg, php, etc. It may be caused by lacking of **Microsoft Visual C++ Redistributable**. You can download it from [here](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170). + +### 10. What are Session Mode or Global Mode? + +![session_mode](https://cdn.jsdelivr.net/gh/moqsien/conf_backup@main/session_mode.png +) +1. Global Mode: Add envs to **$HOME/.vmr/vmr.sh** or **$HOME/.vmr/vmr.fish**. +2. Session Mode: Add envs only to current new session, **no persistent storage**. diff --git a/docs/zh-cn/faq.md b/docs/zh-cn/faq.md index 86f2495..adda70d 100644 --- a/docs/zh-cn/faq.md +++ b/docs/zh-cn/faq.md @@ -40,3 +40,10 @@ ### 9. 为啥部分Windows下的SDK无法运行? 例如,Windows下的agg, php等等。可能是缺少**Microsoft Visual C++ Redistributable**,可以到官网[下载](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170)安装。 + +### 10. 什么是Session模式和Global模式? + +![session_mode](https://cdn.jsdelivr.net/gh/moqsien/conf_backup@main/session_mode.png +) +1. Global模式: 会自动持久化环境变量到**$HOME/.vmr/vmr.sh** 或者 **$HOME/.vmr/vmr.fish**. +2. Session模式: 不会持久化环境变量,只会新开一个终端session,然后向新的session中临时添加环境变量,session关闭之后失效。