@echo off
setlocal
chcp 65001 >nul
call "%~dp0service.bat" uninstall
set "EXIT_CODE=%ERRORLEVEL%"
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0service.ps1" -Action message -MessageAction uninstall -MessageExitCode %EXIT_CODE%
pause >nul
exit /b %EXIT_CODE%
