@echo off
chcp 65001 >nul
REM ============================================================
REM  AI Remote Repair - one-click cleanup / uninstall launcher
REM  Auto-elevates to Administrator. ASCII-only on purpose (see
REM  run.cmd for why); Chinese UI lives in cleanup.ps1.
REM ============================================================
setlocal

fltmc >nul 2>&1
if not %errorlevel%==0 (
    echo Requesting administrator privileges...
    powershell -NoProfile -ExecutionPolicy Bypass -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
    exit /b
)

powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0cleanup.ps1" %*

echo.
pause
