@echo off
setlocal
cd /d "%~dp0"
set "SYNCVISION_CONTROL=%~dp0build\x64\Release\SyncVisionControl.exe"
if not exist "%SYNCVISION_CONTROL%" (
  echo SyncVisionControl.exe was not found.
  echo Please extract the whole Tongping Expert package before opening the group console.
  pause
  exit /b 1
)

start "" "%SYNCVISION_CONTROL%"
exit /b 0
