Skip to content

Commit 706ce0c

Browse files
committed
Refine docs
1 parent 8f4779f commit 706ce0c

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

installation/desktop/macos.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Then find the **ComfyUI icon** in **Launchpad** and click it to enter ComfyUI in
128128
<FirstGeneration/>
129129
<UpdateComfyui/>
130130
<ExternalModelsDesktop/>
131-
<DesktopVenv/>
131+
<DesktopVenv command="source .venv/bin/activate"/>
132132

133133
## How to Uninstall ComfyUI Desktop
134134

installation/desktop/windows.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Double-click the corresponding shortcut to enter ComfyUI initialization settings
119119
<FirstGeneration/>
120120
<UpdateComfyui/>
121121
<ExternalModelsDesktop/>
122-
<DesktopVenv/>
122+
<DesktopVenv command=".venv/bin/activate"/>
123123

124124
## How to Uninstall ComfyUI Desktop
125125

snippets/install/desktop-venv.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ If you need to handle dependencies for ComfyUI plugins, you'll need to do so wit
3333
```
3434
</Step>
3535
<Step title="Activate Virtual Environment">
36-
Type `source .venv/bin/activate` in the terminal to activate the virtual environment
36+
Type the following command in the terminal to activate the virtual environment
3737
```
38-
source .venv/bin/activate
38+
{command}
3939
```
4040
After activation, you should see a prompt like `(ComfyUI)` in the terminal, indicating that you've activated the virtual environment.
4141
</Step>

snippets/zh/install/desktop-venv.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
```
3434
</Step>
3535
<Step title="激活虚拟环境">
36-
在终端中输入 `source .venv/bin/activate` 激活虚拟环境
36+
在终端中输入下面的命令激活虚拟环境
3737
```
38-
source .venv/bin/activate
38+
{command}
3939
```
4040
激活后,你可以在终端中看到类似 `(ComfyUI)` 的提示,表示你已经激活了虚拟环境
4141
</Step>

zh-CN/installation/desktop/macos.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ brew install comfyui
115115
<FirstGeneration/>
116116
<UpdateComfyui/>
117117
<ExternalModelsDesktop/>
118-
<DesktopVenv/>
118+
<DesktopVenv command="source .venv/bin/activate"/>
119119

120120
## 如何卸载 ComfyUI 桌面版
121121

zh-CN/installation/desktop/windows.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ComfyUI 桌面版(Windows)硬件要求:
113113
<FirstGeneration/>
114114
<UpdateComfyui/>
115115
<ExternalModelsDesktop/>
116-
<DesktopVenv/>
116+
<DesktopVenv command=".venv/bin/activate"/>
117117

118118
## 如何卸载 ComfyUI 桌面版
119119

0 commit comments

Comments
 (0)