install.bat 862 Bytes
@echo off
echo Installing Etsy Customer Notify Tool...

REM 检查Python版本
python --version >nul 2>&1
if errorlevel 1 (
    echo ERROR: Python is not installed or not in PATH
    echo Please install Python 3.7+ from https://www.python.org/
    pause
    exit /b 1
)

REM 检查pip
pip --version >nul 2>&1
if errorlevel 1 (
    echo ERROR: pip is not available
    pause
    exit /b 1
)

REM 升级pip
echo Upgrading pip...
python -m pip install --upgrade pip

REM 安装依赖
echo Installing requirements...
pip install -r requirements.txt

REM 检查Chrome浏览器
where chrome >nul 2>&1
if errorlevel 1 (
    echo WARNING: Chrome browser not found in PATH
    echo Please ensure Chrome is installed for web automation
)

REM 创建数据目录
if not exist "data" mkdir data

echo Installation completed!
echo Run "run.bat" to start the application
pause