clean_and_release_win64.cmd 1.9 KB

123456789101112131415161718192021222324252627282930
  1. move out\EasySpider-win32-x64 out\EasySpider
  2. rmdir /s /Q out\EasySpider\resources\app\chrome_win32
  3. rmdir /s /Q out\EasySpider\resources\app\chromedrivers
  4. rmdir /s /Q out\EasySpider\resources\app\Data
  5. rmdir /s /Q out\EasySpider\resources\app\.idea
  6. rmdir /s /Q out\EasySpider\resources\app\tasks
  7. rmdir /s /Q out\EasySpider\resources\app\execution_instances
  8. rmdir /s /Q out\EasySpider\resources\app\user_data
  9. rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\EasySpider
  10. del out\EasySpider\resources\app\vs_BuildTools.exe
  11. move out\EasySpider ..\.temp_to_pub\EasySpider_windows_x64\EasySpider
  12. rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\Code
  13. mkdir ..\.temp_to_pub\EasySpider_windows_x64\Code
  14. @REM copy ..\ExecuteStage\easyspider_executestage.py ..\.temp_to_pub\EasySpider_windows_x64\Code
  15. @REM copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x64\Code
  16. @REM copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x64\Code
  17. copy ..\ExecuteStage\*.py ..\.temp_to_pub\EasySpider_windows_x64\Code
  18. copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x64\Code
  19. copy ..\ExecuteStage\Readme.md ..\.temp_to_pub\EasySpider_windows_x64\Code
  20. copy ..\ExecuteStage\myCode.py ..\.temp_to_pub\EasySpider_windows_x64
  21. xcopy ..\ExecuteStage\undetected_chromedriver_ES ..\.temp_to_pub\EasySpider_windows_x64\Code\undetected_chromedriver_ES /E /I /Y
  22. xcopy ..\ExecuteStage\.vscode ..\.temp_to_pub\EasySpider_windows_x64\Code\.vscode /E /I /Y
  23. rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\user_data
  24. rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\execution_instances
  25. rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\TempUserDataFolder
  26. mkdir ..\.temp_to_pub\EasySpider_windows_x64\execution_instances
  27. rmdir /s /Q ..\.temp_to_pub\EasySpider_windows_x64\Data
  28. mkdir ..\.temp_to_pub\EasySpider_windows_x64\Data
  29. xcopy .\tasks\* ..\.temp_to_pub\EasySpider_windows_x64\tasks\ /E /I /Y