@echo off rem Merchant kit entry for Windows: start.bat setup / selftest / acs / login / submit / status / issue / check / run / tunnel / owner / handbook rem All steps live in start.py (same as ./start.sh on macOS and Linux). setlocal cd /d "%~dp0" set PYTHONUTF8=1 set PYTHONIOENCODING=utf-8 set "PYEXE=" if exist ".venv\Scripts\python.exe" set "PYEXE=.venv\Scripts\python.exe" if not defined PYEXE (where py >nul 2>nul && set "PYEXE=py -3") if not defined PYEXE (where python >nul 2>nul && set "PYEXE=python") if not defined PYEXE ( echo Python not found. Install Python 3.10+ from https://www.python.org/downloads/ and tick "Add python.exe to PATH". if "%~1"=="" pause exit /b 1 ) %PYEXE% start.py %* set "CODE=%errorlevel%" if "%~1"=="" pause exit /b %CODE%