Update Readme for building Electron Program

This commit is contained in:
naibo 2024-10-15 05:42:06 +08:00
parent 6d3d10f7a7
commit 951a39fff6

View File

@ -108,7 +108,7 @@ Finally, copy the `stealth.min.js` and `execute.bat` (for Windows x64) file in t
### NodeJS环境|NodeJS Environment
1. Windows环境下需要先下载`VS Build Tools 2017` [https://aka.ms/vs/15/release/vs_buildtools.exe](https://aka.ms/vs/15/release/vs_buildtools.exe))并勾选安装其中的`Visual C++ Build ToolsVisual C++生成工具)`组件不然下面的命令无法执行其他系统不需要。同时Python3也需要安装在系统中并配置好环境变量。
1. Windows环境下需要先下载`VS Build Tools 2017` [https://aka.ms/vs/15/release/vs_buildtools.exe](https://aka.ms/vs/15/release/vs_buildtools.exe))并勾选安装其中的`Visual C++ Build ToolsVisual C++生成工具)`组件以便`node-gyp`模块来安装`node-windows-manager`不然下面的命令无法执行其他系统不需要。同时Python3也需要安装在系统中并配置好环境变量。
2. 安装`NodeJS`[https://nodejs.org/zh-cn/download/](https://nodejs.org/zh-cn/download/)。
3. 运行下面的命令来安装依赖:
@ -120,7 +120,7 @@ npm install
-----
1. On Windows, you need to download `VS Build Tools 2017` (https://aka.ms/vs/15/release/vs_buildtools.exe, select and install the `Visual C++ Build Tools` component) first for node-gyp to install `node-windows-manager` (No need for other OS). Meanwhile, Python3 needs to be installed and the environment variables need to be configured.
1. On Windows, you need to download `VS Build Tools 2017` (https://aka.ms/vs/15/release/vs_buildtools.exe, select and install the `Visual C++ Build Tools` component) first for the module `node-gyp` to install `node-windows-manager` (No need for other OS). Meanwhile, Python3 needs to be installed and the environment variables need to be configured.
2. Install `NodeJS`: [https://nodejs.org/en/download/](https://nodejs.org/en/download/).
3. Run the following commands to install NodeJS packages: