@echo off
chcp 65001 >nul
cd /d "%~dp0"
title ViewOptics-V1.95
if exist "ViewOpticsDriver\ViewOpticsDriver.exe" (
    start "" /MIN "ViewOpticsDriver\ViewOpticsDriver.exe"
)
timeout /t 1 /nobreak >nul
if exist "ViewOptics-V1.95.exe" (
    start "" "ViewOptics-V1.95.exe" --launched
) else if exist "_runtime\ViewOptics-V1.95.exe" (
    start "" "_runtime\ViewOptics-V1.95.exe" --launched
) else (
    echo 找不到主程序 ViewOptics-V1.95.exe
    pause
)
