forked from NaiboWang/EasySpider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clean_and_release_win64.cmd
29 lines (28 loc) · 1.79 KB
/
clean_and_release_win64.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
move out\EasySpider-win32-x64 out\EasySpider
rmdir /s /Q out\EasySpider\resources\app\chrome_win32
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\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
copy ..\ExecuteStage\Readme.md ..\.temp_to_pub\EasySpider_windows_x64\Code
copy ..\ExecuteStage\myCode.py ..\.temp_to_pub\EasySpider_windows_x64
xcopy ..\ExecuteStage\undetected_chromedriver_ES ..\.temp_to_pub\EasySpider_windows_x64\Code\undetected_chromedriver_ES /E /I /Y
xcopy ..\ExecuteStage\.vscode ..\.temp_to_pub\EasySpider_windows_x64\Code\.vscode /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
rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\TempUserDataFolder
mkdir ..\.temp_to_pub\EasySpider_windows_x64\execution_instances
rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\Data
mkdir ..\.temp_to_pub\EasySpider_windows_x64\Data
xcopy .\tasks\* ..\.temp_to_pub\EasySpider_windows_x64\tasks\ /E /I /Y