@echo off
cd /d "%~dp0"
set PYTHONIOENCODING=utf-8
set PYTHONUTF8=1
for /f "delims=" %%i in ('where python 2^>nul') do set PYTHON_EXE=%%i & goto :found
echo Python not found in PATH. Please install Python 3.
pause
exit /b 1
:found
set PYTHONW_EXE=%PYTHON_EXE:python.exe=pythonw.exe%
if not exist "%PYTHONW_EXE%" set PYTHONW_EXE=%PYTHON_EXE%
start "" "%PYTHONW_EXE%" "%~dp0wivexx_api.py"
