@echo off
chcp 65001 >nul
cd /d "%~dp0"
title AI Maketing Facebook
if not exist ".venv\Scripts\python.exe" (
  echo Chua cai dat. Dang chay CAI_DAT.cmd...
  call CAI_DAT.cmd
)
call .venv\Scripts\activate.bat
set PLAYWRIGHT_BROWSERS_PATH=%~dp0ms-playwright
python run_app.py
if errorlevel 1 pause
