mirror of
https://github.com/redis/RedisDesktopManager.git
synced 2026-10-16 20:21:46 +08:00
12 lines
242 B
Batchfile
12 lines
242 B
Batchfile
@echo off
|
|
taskkill /f /im rdm.exe
|
|
cd build/windows/installer/resources/
|
|
START /b rdm.exe
|
|
TIMEOUT 30
|
|
tasklist /FI "IMAGENAME eq rdm.exe" 2>NUL | find /I /N "rdm.exe">NUL
|
|
|
|
if "%ERRORLEVEL%"=="0" (
|
|
taskkill /f /im rdm.exe
|
|
exit 0
|
|
) ELSE (exit 1)
|