@echo off
chcp 65001 >nul
setlocal EnableExtensions
cd /d "%~dp0"
if exist "Karuiya.exe" (
  "Karuiya.exe" --unregister-file-association
  exit /b %ERRORLEVEL%
)
call "%~dp0run.bat" --unregister-file-association
exit /b %ERRORLEVEL%
