mirror of https://github.com/Jackett/Jackett
20 lines
388 B
Batchfile
Executable File
20 lines
388 B
Batchfile
Executable File
:: Helper script to fix
|
|
:: https://github.com/Jackett/Jackett/issues/10068
|
|
|
|
@echo off
|
|
|
|
:: Wait until the updater ends
|
|
:loop
|
|
tasklist | find /i "JackettUpdater.exe" > nul 2>&1
|
|
if errorlevel 1 (
|
|
goto continue
|
|
) else (
|
|
echo JackettUpdater is still running
|
|
timeout /t 1 /nobreak > nul
|
|
goto loop
|
|
)
|
|
|
|
:: Start Jackett Tray
|
|
:continue
|
|
start "" "%0\..\JackettTray.exe" --UpdatedVersion yes
|