Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

fix: typo #2091

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/zh-CN/docs/tutorial/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ url = ELECTRON_MIRROR + ELECTRON_CUSTOM_DIR + '/' + ELECTRON_CUSTOM_FILENAME
ELECTRON_MIRROR="https://cdn.npm.taobao.org/dist/electron/"
```

默认情况下,`ELECTRON_CUSTTOM_DIR`被设置为 `v$VERSION`。 要更改格式,请使用 `{{ version }}` 占位符。 例如,`version-{{ version }}` 被解析为 `version-5.0.0`, `{{ version }}` 被解析为 `5.0.0`, `v{{ version }}` 与默认值等价。 更具体的例子,使用中国非CDN镜像:
默认情况下,`ELECTRON_CUSTOM_DIR`被设置为 `v$VERSION`。 要更改格式,请使用 `{{ version }}` 占位符。 例如,`version-{{ version }}` 被解析为 `version-5.0.0`, `{{ version }}` 被解析为 `5.0.0`, `v{{ version }}` 与默认值等价。 更具体的例子,使用中国非CDN镜像:

```shell
ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
Expand Down