@echo off
title Titled GUI - CS2
cd /d "%~dp0"

set "EXE=bin\x64\Release\net10.0-windows7.0\Titled GUI.exe"

if not exist "%EXE%" (
    echo [错误] 未找到程序文件: %EXE%
    echo [提示] 请先执行 dotnet build -c Release 编译项目。
    pause
    exit /b 1
)

echo [启动] 正在运行 Titled GUI...
"%EXE%"

echo.
echo [提示] 程序已退出。
pause
