diff --git a/ElectronJS/EasySpider_en.crx b/ElectronJS/EasySpider_en.crx new file mode 100644 index 0000000..8fe46eb Binary files /dev/null and b/ElectronJS/EasySpider_en.crx differ diff --git a/ElectronJS/EasySpider_zh.crx b/ElectronJS/EasySpider_zh.crx new file mode 100644 index 0000000..5e4809d Binary files /dev/null and b/ElectronJS/EasySpider_zh.crx differ diff --git a/ElectronJS/clean_and_release_win32.cmd b/ElectronJS/clean_and_release_win32.cmd index c330698..032dc58 100644 --- a/ElectronJS/clean_and_release_win32.cmd +++ b/ElectronJS/clean_and_release_win32.cmd @@ -9,9 +9,13 @@ rmdir /s /q out\EasySpider\resources\app\user_data rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x86\EasySpider del out\EasySpider\resources\app\vs_BuildTools.exe move out\EasySpider ..\.temp_to_pub\EasySpider_windows_x86\EasySpider +rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x86\Code +mkdir ..\.temp_to_pub\EasySpider_windows_x86\Code copy ..\ExecuteStage\easyspider_executestage.py ..\.temp_to_pub\EasySpider_windows_x86\Code copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x86\Code copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x86\Code +copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x86\Code +xcopy ..\ExecuteStage\undetected_chromedriver_ES ..\.temp_to_pub\EasySpider_windows_x86\Code\undetected_chromedriver_ES /E /I /Y rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x86\user_data rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x86\execution_instances mkdir ..\.temp_to_pub\EasySpider_windows_x86\execution_instances diff --git a/ElectronJS/clean_and_release_win64.cmd b/ElectronJS/clean_and_release_win64.cmd index 1ad1bae..3c287dd 100644 --- a/ElectronJS/clean_and_release_win64.cmd +++ b/ElectronJS/clean_and_release_win64.cmd @@ -4,14 +4,18 @@ rmdir /s /q out\EasySpider\resources\app\chromedrivers rmdir /s /q out\EasySpider\resources\app\Data rmdir /s /q out\EasySpider\resources\app\.idea rmdir /s /q out\EasySpider\resources\app\tasks -rmdir /s /q out\EasySpider\resources\app\user_data rmdir /s /q out\EasySpider\resources\app\execution_instances +rmdir /s /q out\EasySpider\resources\app\user_data rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x64\EasySpider del out\EasySpider\resources\app\vs_BuildTools.exe move out\EasySpider ..\.temp_to_pub\EasySpider_windows_x64\EasySpider +rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x64\Code +mkdir ..\.temp_to_pub\EasySpider_windows_x64\Code copy ..\ExecuteStage\easyspider_executestage.py ..\.temp_to_pub\EasySpider_windows_x64\Code copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x64\Code copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x64\Code +copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x64\Code +xcopy ..\ExecuteStage\undetected_chromedriver_ES ..\.temp_to_pub\EasySpider_windows_x64\Code\undetected_chromedriver_ES /E /I /Y rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x64\user_data rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x64\execution_instances mkdir ..\.temp_to_pub\EasySpider_windows_x64\execution_instances diff --git a/ElectronJS/package_linux64.sh b/ElectronJS/package_linux64.sh index 8335983..ab5a7ef 100755 --- a/ElectronJS/package_linux64.sh +++ b/ElectronJS/package_linux64.sh @@ -17,9 +17,13 @@ rm -rf out/EasySpider/resources/app/user_data rm -rf ../.temp_to_pub/EasySpider_Linux_x64/EasySpider rm out/EasySpider/resources/app/vs_BuildTools.exe mv out/EasySpider ../.temp_to_pub/EasySpider_Linux_x64/EasySpider +rm -rf ../.temp_to_pub/EasySpider_Linux_x64/Code +mkdir ../.temp_to_pub/EasySpider_Linux_x64/Code cp ../ExecuteStage/easyspider_executestage.py ../.temp_to_pub/EasySpider_Linux_x64/Code cp ../ExecuteStage/myChrome.py ../.temp_to_pub/EasySpider_Linux_x64/Code cp ../ExecuteStage/utils.py ../.temp_to_pub/EasySpider_Linux_x64/Code +cp ../ExecuteStage/requirements.txt ../.temp_to_pub/EasySpider_Linux_x64/Code +cp -Rf ../undetected_chromedriver_ES ../.temp_to_pub/EasySpider_Linux_x64/Code chmod 777 ../.temp_to_pub/EasySpider_Linux_x64/easy-spider.sh rm -rf ../.temp_to_pub/EasySpider_Linux_x64/user_data diff --git a/ElectronJS/package_macos.sh b/ElectronJS/package_macos.sh index 2c5d309..b2cf8b8 100755 --- a/ElectronJS/package_macos.sh +++ b/ElectronJS/package_macos.sh @@ -17,6 +17,10 @@ rm -r ../.temp_to_pub/EasySpider_MacOS_all_arch/EasySpider.app/Contents/Resource rm -r ../.temp_to_pub/EasySpider_MacOS_all_arch/EasySpider.app/Contents/Resources/app/tasks rm -r ../.temp_to_pub/EasySpider_MacOS_all_arch/EasySpider.app/Contents/Resources/app/execution_instances rm -r ../.temp_to_pub/EasySpider_MacOS_all_arch/EasySpider.app/Contents/Resources/app/user_data +rm -rf ../.temp_to_pub/EasySpider_MacOS_all_arch/Code +mkdir ../.temp_to_pub/EasySpider_MacOS_all_arch/Code cp ../ExecuteStage/easyspider_executestage.py ../.temp_to_pub/EasySpider_MacOS_all_arch/Code cp ../ExecuteStage/myChrome.py ../.temp_to_pub/EasySpider_MacOS_all_arch/Code cp ../ExecuteStage/utils.py ../.temp_to_pub/EasySpider_MacOS_all_arch/Code +cp ../ExecuteStage/requirements.txt ../.temp_to_pub/EasySpider_MacOS_all_arch/Code +cp -Rf ../undetected_chromedriver_ES ../.temp_to_pub/EasySpider_MacOS_all_arch/Code