Skip to content

Commit 29da8e4

Browse files
committed
Fixed positive exit code
1 parent c3d39d0 commit 29da8e4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

batch encoder.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
setlocal enabledelayedexpansion
33

4-
set CurrentVersion=v1.6.2
4+
set CurrentVersion=v1.6.0
55
cls
66

77
set "icongray="
@@ -45,7 +45,7 @@ if defined par_updated-from (
4545
del "%par_updated-from:"=%"
4646
)
4747

48-
pause rem remove
48+
rem pause
4949

5050
:AskProceed
5151
call:ClearAndTitle
@@ -110,7 +110,7 @@ pause rem remove
110110
echo Downloading files...
111111
curl --silent -L -H "Accept: application/octet-stream" -o "batch encoder %UpdateVersion%%append%.bat" %UpdateAPIURL%
112112
echo.
113-
echo %icongreen% i %formatend% Download complete. The program will now clean up and restart.
113+
echo %icongreen% i %formatend% Download complete. The program will now clean up and restart.
114114
call:GrayPause
115115
del "%updateFileName%"
116116
if /i "%par_silent%"=="true" (
@@ -218,7 +218,7 @@ echo  Completed encoding %TOTAL% files. %formatend%
218218

219219
:EndPause
220220
call:GrayPause
221-
exit
221+
exit /b 0
222222

223223
:CritError
224224
timeout /t 1

0 commit comments

Comments
 (0)