@echo off
setlocal
chcp 65001 >nul
cd /d "%~dp0"
title Copita

echo.
echo =====================================
echo  Starting Copita
echo =====================================
echo.
echo The browser will open at http://127.0.0.1:7865
echo Close this window to stop the tool.
echo.

powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Copita\run.ps1"

echo.
echo Tool stopped.
pause
