@echo off
chcp 65001 >nul
title cyac Installer

cd /d "%~dp0"

if not exist "cyac.exe" (
    echo Error: cyac.exe not found
    echo Please extract the zip first, then run this installer.
    pause
    exit /b 1
)

echo Running installer...
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0install.ps1"

pause
