From 00c80b5739cece4a8781ce8fd995a46a71e12455 Mon Sep 17 00:00:00 2001 From: Fankesyooni <37344460+fankes@users.noreply.github.com> Date: Sat, 23 Jul 2022 23:06:16 +0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2e38bc4..33bbbcb 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Formatting code with **Visual Studio Code** is not recommended and may cause som - Execute the following command to install Electron ``` -npm install electron --save-dev +npm install --save-dev electron ``` - Execute the following command to install yarn @@ -51,7 +51,11 @@ npm install yarn - Enter the project directory and execute the following command to install dependencies ``` -npm install --production --registry=https://registry.npmmirror.com/ +npm install --save-dev @electron-forge/cli +``` + +``` +npx electron-forge import ``` - Use the following command to debug @@ -91,7 +95,7 @@ IDE 工具建议使用 **IntelliJ IDEA** 或 **WebStorm** - 执行如下命令安装 Electron ``` -npm install electron --save-dev +npm install --save-dev electron ``` - 执行如下命令安装 yarn