This commit is contained in:
Your Name
2026-07-17 09:24:47 +08:00
commit 530e7f839d
4353 changed files with 731879 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
@echo off
setlocal EnableExtensions
set "PATH=%SystemRoot%\System32;%PATH%"
cd /d "%~dp0"
if not exist ".venv\Scripts\python.exe" (
echo Run setup.bat first.
pause
exit /b 1
)
set "PY=.venv\Scripts\python.exe"
set "PLAYWRIGHT_BROWSERS_PATH=%~dp0playwright-browsers"
if not exist "%PLAYWRIGHT_BROWSERS_PATH%" mkdir "%PLAYWRIGHT_BROWSERS_PATH%"
echo Reinstalling Chromium...
"%PY%" -m playwright install chromium
"%PY%" -c "from douyin_collector_bootstrap import resolve_chrome_exe; print('OK:', resolve_chrome_exe())"
pause
endlocal