Files
2fa-account-tool/stop.bat
2026-02-01 15:10:25 +08:00

25 lines
485 B
Batchfile

@echo off
echo Closing 2FA Account Tool...
echo.
:: Kill all electron processes
taskkill /f /im electron.exe >nul 2>&1
if %errorlevel% equ 0 (
echo [CLOSED] electron.exe
) else (
echo [NOT RUNNING] electron.exe
)
:: Kill any remaining node processes
taskkill /f /im node.exe >nul 2>&1
if %errorlevel% equ 0 (
echo [CLOSED] node.exe
) else (
echo [NOT RUNNING] node.exe
)
echo.
echo Program has been closed. You can now safely delete node_modules folder.
echo.
pause