25 lines
543 B
Batchfile
25 lines
543 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0\.."
|
|
|
|
where py >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo Python launcher "py" was not found. Install Python 3.10+ first.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
if not exist ".venv\Scripts\python.exe" (
|
|
py -3 -m venv .venv
|
|
)
|
|
|
|
call .venv\Scripts\activate.bat
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -r requirements.txt
|
|
python -m pip install pyinstaller playwright httpx requests pillow customtkinter
|
|
python -m playwright install chromium
|
|
|
|
echo.
|
|
echo Desktop dependencies and Playwright Chromium are installed.
|
|
pause
|