dependabot[bot] dd74249834
Bump protobufjs from 6.11.3 to 6.11.4 in /Extension/manifest_v3
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.3 to 6.11.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/commits)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 01:50:00 +00:00
..

环境编译说明/Environment Compilation Instruction

EasySpider分三部分

  1. 主程序:在ElectronJS文件夹下。
  2. 浏览器扩展:在Extension文件夹下,为浏览器的“操作台”的代码,打包后的扩展在ElectronJS目录下的EasySpider_zh.crx文件。
  3. 执行阶段程序:在ExecuteStage文件夹下。

此部分为浏览器扩展的编译说明,本节的所有命令都在manifest_v3文件夹内执行,即你需要先cd manifest_v3


EasySpider is divided into three parts:

  1. Main program: Located in the ElectronJS folder.
  2. Browser extension: Located in the Extension folder, i.e., the EasySpider_en.crx file in the ElectronJS folder.
  3. Execution stage program: Located in the ExecuteStage folder.

This section covers the compilation instructions for the Browser extension, all commands in this section are executed in the manifest_v3 folder, i.e., you need to cd manifest_v3 first.

环境构建/Environment Setup

  1. 安装NodeJShttps://nodejs.org/zh-cn/download/
  2. 运行下面的命令来安装依赖:
npm install

  1. Install NodeJS: https://nodejs.org/en/download/.
  2. Run the following command to install dependencies:
npm install

热加载扩展/Hot reload the extension

执行下面的命令来热加载扩展:

npm run dev

打开一个Chrome浏览器窗口然后在浏览器地址栏输入chrome://extensions/,在打开的页面中,打开右上角的开发者模式,点击加载已解压的扩展程序,选择manifest_v3/dist文件夹,即可加载扩展。


Run the following command to hot reload the extension:

npm run dev

Open a Chrome browser window, then enter chrome://extensions/ in the browser address bar. On the opened page, open the Developer mode in the upper right corner, click Load unpacked and select the manifest_v3/dist folder to load the extension.

打包扩展/Package the extension

执行下面的命令来打包扩展:

npm run package

打包后会自动更新ElectronJS目录下的EasySpider_zh.crx文件,命令运行过程中的报错信息可以忽略。


Run the following command to package the extension:

npm run package

After packaging, the EasySpider_en.crx file in the ElectronJS folder will be automatically updated, and the error messages during the command running can be ignored.