Commit 7574efa 1 parent 24f70b7 commit 7574efa Copy full SHA for 7574efa
File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
@echo off
2
2
3
- " %~dp0 Runner .Listener.exe" run %*
3
+ "%~dp0\bin\Runner .Listener.exe" run %*
4
4
5
5
rem using `if %ERRORLEVEL% EQU N` insterad of `if ERRORLEVEL N`
6
6
rem `if ERRORLEVEL N` means: error level is N or MORE
Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ rem Run.
19
19
rem ********************************************************************************
20
20
21
21
:launch_helper
22
- call " %~dp0 bin\run-helper.cmd" %*
22
+ copy run-helper.cmd.template run-helper.cmd /Y
23
+ call " %~dp0 run-helper.cmd" %*
23
24
24
25
rem using `if %ERRORLEVEL% EQU N` insterad of `if ERRORLEVEL N`
25
26
rem `if ERRORLEVEL N` means: error level is N or MORE
26
27
27
28
if %ERRORLEVEL% EQU 1 (
28
- echo " Restart runner after it exited with return code ' %ERRORLEVEL% ' "
29
+ echo " Restarting runner... "
29
30
goto :launch_helper
30
31
) else (
31
32
echo " Exit runner after it exited with return code '%ERRORLEVEL% '"
Original file line number Diff line number Diff line change 16
16
" $DIR " /bin/run-helper.sh $*
17
17
returnCode=$?
18
18
if [[ $returnCode -e 1 ]]; then
19
- echo " Restart runner after it updated ..."
19
+ echo " Restarting runner..."
20
20
else
21
21
echo " Exiting runner..."
22
22
exit 0
You can’t perform that action at this time.
0 commit comments