Skip to content

Commit cc9a808

Browse files
authored
Update README.md
1 parent 3daf5e8 commit cc9a808

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ElectronJS/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/)
44

5-
# 环境编译说明|Environment Compilation Instruction
5+
# 环境编译说明 | Environment Compilation Instruction
66

77
EasySpider分三部分:
88

@@ -23,7 +23,7 @@ EasySpider is divided into three parts:
2323
This section covers the compilation instructions for the `main program`.
2424

2525

26-
## 建议编译顺序|Suggested Compilation Order
26+
## 建议编译顺序 | Suggested Compilation Order
2727

2828
1. 编译浏览器扩展,否则在主程序执行时会提示找不到`EasySpider_zh.crx`的错误。
2929
2. 编译主程序,此时主程序可以正常运行,但无法执行任务,只能设计任务。
@@ -35,19 +35,19 @@ This section covers the compilation instructions for the `main program`.
3535
2. Compile the main program, at this time the main program can run normally, but can not execute the task, can only design the task.
3636
3. Compile the execution stage program, otherwise the task cannot be executed, can only design the task.
3737

38-
## 注意事项|Note
38+
## 注意事项 | Note
3939

4040
请记住,每当EasySpider扩展程序和执行程序更新时,都要更新`EasySpider.crx``easyspider_executestage`文件。
4141

4242
Remember to update the `EasySpider.crx` and `easyspider_executestage` files whenever the EasySpider extension and execution program are updated.
4343

44-
## 环境构建|Environment Setup
44+
## 环境构建 | Environment Setup
4545

4646
以下以Windows x64版本为例。
4747

4848
Taking the example of Windows x64 version.
4949

50-
### 浏览器和驱动|Browser and Driver
50+
### 浏览器和驱动 | Browser and Driver
5151

5252
实在搞不定本节的情况下,下载一个直接能用的EasySpider,并把文件夹内的`EasySpider\resources\app\chrome_win64`文件夹拷贝到此`ElectronJS`文件夹下,并把`chrome_win64`文件夹下的`execute.sh`在原文件夹下复制一份并命名为`execute_win64.sh`即可。
5353

@@ -106,7 +106,7 @@ For example, if you want to build this software on Windows x64 platform, then yo
106106

107107
Finally, copy the `stealth.min.js` and `execute_win64.bat` file in this `ElectronJS` folder to the `chrome_win64` folder **(do not forget this step)**.
108108

109-
### NodeJS环境|NodeJS Environment
109+
### NodeJS环境 | NodeJS Environment
110110

111111
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 Tools(Visual C++生成工具)`组件以便`node-gyp`模块来安装`node-windows-manager`,不然下面的命令无法执行,其他系统不需要。同时,`Python3`也需要安装在系统中并配置好环境变量。
112112
2. 安装`NodeJS`[https://nodejs.org/zh-cn/download/](https://nodejs.org/zh-cn/download/)
@@ -128,7 +128,7 @@ npm install
128128
npm install
129129
```
130130

131-
## 运行说明|Run Instruction
131+
## 运行说明 | Run Instruction
132132

133133
在当前文件夹执行以下命令即可在开发模式下运行程序:
134134

@@ -148,7 +148,7 @@ npm run start_direct
148148

149149
But so far can only design the task, can not execute the task, want to execute the task also need to complete the 'ExecuteStage' folder of the execution of the task program compilation instructions can be executed.
150150

151-
## 打包发布说明|Package Instruction
151+
## 打包发布说明 | Package Instruction
152152

153153
打包发布前,确保执行阶段程序`easyspider_executestage(.exe)`已放入`chrome(_win64)`文件夹内,且浏览器插件`EasySpider_zh.crx`已经是最新版本。
154154

@@ -186,7 +186,7 @@ package_win64.cmd
186186
clean_and_release_win64.cmd
187187
```
188188

189-
## 可能出现的问题|Troubleshooting
189+
## 可能出现的问题 | Troubleshooting
190190

191191
以下命令一般不需要执行,但打包时可能会用到:
192192

0 commit comments

Comments
 (0)