Browse Source

New script for copying all code files to the Code folder

Naibo_Mac_M2 9 months ago
parent
commit
34ed41110a

BIN
ElectronJS/EasySpider_en.crx


BIN
ElectronJS/EasySpider_zh.crx


+ 4 - 3
ElectronJS/clean_and_release_win32.cmd

@@ -11,9 +11,10 @@ del out\EasySpider\resources\app\vs_BuildTools.exe
 move out\EasySpider ..\.temp_to_pub\EasySpider_windows_x32\EasySpider
 rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x32\Code
 mkdir ..\.temp_to_pub\EasySpider_windows_x32\Code
-copy ..\ExecuteStage\easyspider_executestage.py ..\.temp_to_pub\EasySpider_windows_x32\Code
-copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x32\Code
-copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x32\Code
+@REM copy ..\ExecuteStage\easyspider_executestage.py ..\.temp_to_pub\EasySpider_windows_x32\Code
+@REM copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x32\Code
+@REM copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x32\Code
+copy ..\ExecuteStage\*.py ..\.temp_to_pub\EasySpider_windows_x32\Code
 copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x32\Code
 copy ..\ExecuteStage\Readme.md ..\.temp_to_pub\EasySpider_windows_x32\Code
 copy ..\ExecuteStage\myCode.py ..\.temp_to_pub\EasySpider_windows_x32

+ 4 - 3
ElectronJS/clean_and_release_win64.cmd

@@ -11,9 +11,10 @@ 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
+@REM copy ..\ExecuteStage\easyspider_executestage.py ..\.temp_to_pub\EasySpider_windows_x64\Code
+@REM copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x64\Code
+@REM copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x64\Code
+copy ..\ExecuteStage\*.py ..\.temp_to_pub\EasySpider_windows_x64\Code
 copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x64\Code
 copy ..\ExecuteStage\Readme.md ..\.temp_to_pub\EasySpider_windows_x64\Code
 copy ..\ExecuteStage\myCode.py ..\.temp_to_pub\EasySpider_windows_x64

+ 4 - 3
ElectronJS/package_linux64.sh

@@ -20,9 +20,10 @@ 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/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/*.py ../.temp_to_pub/EasySpider_Linux_x64/Code
 cp ../ExecuteStage/requirements.txt ../.temp_to_pub/EasySpider_Linux_x64/Code
 cp ../ExecuteStage/Readme.md ../.temp_to_pub/EasySpider_Linux_x64/Code
 cp ../ExecuteStage/myCode.py ../.temp_to_pub/EasySpider_Linux_x64

+ 4 - 3
ElectronJS/package_macos.sh

@@ -20,9 +20,10 @@ rm -r ../.temp_to_pub/EasySpider_MacOS/EasySpider.app/Contents/Resources/app/use
 rm -r ../.temp_to_pub/EasySpider_MacOS/EasySpider.app/Contents/Resources/app/TempUserDataFolder
 rm -rf ../.temp_to_pub/EasySpider_MacOS/Code
 mkdir ../.temp_to_pub/EasySpider_MacOS/Code
-cp ../ExecuteStage/easyspider_executestage.py ../.temp_to_pub/EasySpider_MacOS/Code
-cp ../ExecuteStage/myChrome.py ../.temp_to_pub/EasySpider_MacOS/Code
-cp ../ExecuteStage/utils.py ../.temp_to_pub/EasySpider_MacOS/Code
+# cp ../ExecuteStage/easyspider_executestage.py ../.temp_to_pub/EasySpider_MacOS/Code
+# cp ../ExecuteStage/myChrome.py ../.temp_to_pub/EasySpider_MacOS/Code
+# cp ../ExecuteStage/utils.py ../.temp_to_pub/EasySpider_MacOS/Code
+cp ../ExecuteStage/*.py ../.temp_to_pub/EasySpider_MacOS/Code
 cp ../ExecuteStage/requirements.txt ../.temp_to_pub/EasySpider_MacOS/Code
 cp ../ExecuteStage/Readme.md ../.temp_to_pub/EasySpider_MacOS/Code
 cp ../ExecuteStage/myCode.py ../.temp_to_pub/EasySpider_MacOS

File diff suppressed because it is too large
+ 1 - 1
ElectronJS/stealth.min.js


Some files were not shown because too many files changed in this diff