Skip to content

Commit 00c80b5

Browse files
authored
Update README.md
1 parent 1525717 commit 00c80b5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Formatting code with **Visual Studio Code** is not recommended and may cause som
3939
- Execute the following command to install Electron
4040

4141
```
42-
npm install electron --save-dev
42+
npm install --save-dev electron
4343
```
4444

4545
- Execute the following command to install yarn
@@ -51,7 +51,11 @@ npm install yarn
5151
- Enter the project directory and execute the following command to install dependencies
5252

5353
```
54-
npm install --production --registry=https://registry.npmmirror.com/
54+
npm install --save-dev @electron-forge/cli
55+
```
56+
57+
```
58+
npx electron-forge import
5559
```
5660

5761
- Use the following command to debug
@@ -91,7 +95,7 @@ IDE 工具建议使用 **IntelliJ IDEA** 或 **WebStorm**
9195
- 执行如下命令安装 Electron
9296

9397
```
94-
npm install electron --save-dev
98+
npm install --save-dev electron
9599
```
96100

97101
- 执行如下命令安装 yarn

0 commit comments

Comments
 (0)