@echo off
REM OneDot Systems - Remote Support Agent launcher (Windows)
REM Double-click. Windows will ask for permission (UAC); choose Yes.
net session >nul 2>&1
if %errorlevel% neq 0 (
  powershell -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
  exit /b
)
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://help.onedotsystems.com/downloads/windows/install-onedot-support.ps1 | iex"
echo.
pause
