Naibo Wang dbfcb1bee7 Change Linux Folder Name 2 anos atrás
..
src aacbba9071 Update 2 anos atrás
tasks dbfcb1bee7 Change Linux Folder Name 2 anos atrás
.gitignore b746556d71 Linux shell command update 2 anos atrás
EasySpider_en.crx 509d0bc6ce 重命名Release文件夹,防止很多人下载错误的文件 2 anos atrás
EasySpider_zh.crx 509d0bc6ce 重命名Release文件夹,防止很多人下载错误的文件 2 anos atrás
README.md ae7415b0da V0.3.1 Official 2 anos atrás
XPathHelper.crx a76c1cd097 version 0.3.0 Beta 2 anos atrás
check_update.js a76c1cd097 version 0.3.0 Beta 2 anos atrás
chrome_location_linux dbfcb1bee7 Change Linux Folder Name 2 anos atrás
clean_and_release_win32.cmd 97374626ae amd64 to x64 2 anos atrás
clean_and_release_win64.cmd 97374626ae amd64 to x64 2 anos atrás
config.json dbfcb1bee7 Change Linux Folder Name 2 anos atrás
execute.bat f161feec77 根据修改意见修改代码 2 anos atrás
execute_macos.sh 4669caf0c4 MACOS version 2 anos atrás
favicon.icns 4669caf0c4 MACOS version 2 anos atrás
favicon.ico fe0e84f64b Multi-Platform Support 2 anos atrás
forge.config.js fe0e84f64b Multi-Platform Support 2 anos atrás
main.js 0a5d159b8a V0.3.2 2 anos atrás
mime.json 057b52ba1f New Version 0.2.0 2 anos atrás
package-lock.json 6c0becdf09 Change min save item amount 2 anos atrás
package.json 6c0becdf09 Change min save item amount 2 anos atrás
package_linux64.sh dbfcb1bee7 Change Linux Folder Name 2 anos atrás
package_macos.sh 509d0bc6ce 重命名Release文件夹,防止很多人下载错误的文件 2 anos atrás
package_win32.cmd ce68dff2c7 Win32 update 2 anos atrás
package_win64.cmd e450fa424b Windows x86 2 anos atrás
server.js 2cb9d799ef OS Version Check Upgrade 2 anos atrás
start_direct.cmd f161feec77 根据修改意见修改代码 2 anos atrás
stealth.min.js 057b52ba1f New Version 0.2.0 2 anos atrás
每次发布之前要检查的事项.md 6212724d55 New Field 2 anos atrás

README.md

Note

Remember to update EasySpider.crx everytime the extension updates.

Prerequisite

Download a chrome from the Internet: https://www.google.com/chrome/, and then put them into this folder, with name format of the following:

chrome_win32/ # for windows x86
chrome_win64/ # for windows x64
chrome_linux64/ # for linux x64
chrome_mac64/ # for mac x64

Then, download the corresponding chromedriver from the Internet on this page: https://chromedriver.chromium.org/downloads, note the chromedriver version must match your chrome version!!! And put them into corresponding chrome folder, with name format of the following:

chromedriver_win32.exe # for windows x86
chromedriver_win64.exe # for windows x64
chromedriver_linux64 # for linux x64
chromedriver_mac64 # for mac x64

For example, if you want to build this software on Windows x64 platform, then you should first download a chrome for windows x64, then copy the whole chrome folder to this ElectronJS folder and rename the folder to chrome_win64, assume the chrome version you downloaded is 110; then, download a chromedriver.exe with version 110 for windows x64, and put it into the chrome_win64 folder, then rename it to chromedriver_win64.exe.

Finally, copy the stealth.min.js and execute.bat (for windows x64) file in this folder to these chrome folders.

Run Instruction

On Windows, you need to install VS Build Tools 2017 (https://aka.ms/vs/15/release/vs_buildtools.exe, select and install the Visual Studio Build Tools 2017 component) first for node-gyp to install node-windows-manager.

npm install
npm install @electron-forge/cli -g

Then run the software in developing mode:

npm run start_direct

Package Instruction

After finish developing, package software by the following command:

npx electron-forge import
npm run package

optional:

npm run make

For windows x64

依次执行下面两个cmd即可打包并发布,无需执行上面的npm命令

package_win64.cmd
clean_and_release_win64.cmd

For Windows x86

依次执行下面两个cmd即可打包并发布,无需执行上面的npm命令

package_win32.cmd
clean_and_release_win32.cmd