@echo off title Attendance GUI (Flet) chcp 65001 >nul cd /d "%~dp0" set PYTHONPATH=%~dp0 REM Flet la GUI lon, can install lan dau (1 lan duy nhat) runtime\python.exe -c "import flet" 2>nul if errorlevel 1 ( echo Lan dau chay - cai dat Flet ^(~80MB^)... runtime\python.exe -m pip install flet --no-warn-script-location ) runtime\python.exe attendance_app.py pause