forked from metin2/client
Made pack.bat exit on error
This commit is contained in:
parent
6564e417f9
commit
603f2207ef
@ -1,7 +1,14 @@
|
||||
@echo off
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
FOR /d %%i IN ("*") DO (
|
||||
echo Packing %%i
|
||||
rem "C:\Program Files\7-Zip\7z.exe" a "%%i.zip" ".\%%i\*" -m0=LZMA
|
||||
rem "C:\Program Files\7-Zip-Zstandard\7za.exe" a "%%i.zip" ".\%%i\*" -m0=Zstd -mx20
|
||||
rem "C:\Program Files\7-Zip-Zstandard\7za.exe" a "%%i.zip" ".\%%i\*" -m0=Zstd
|
||||
"C:\Program Files\7-Zip\7z.exe" a "%%i.zip" ".\%%i\*"
|
||||
if !errorlevel! neq 0 exit /b !errorlevel!
|
||||
|
||||
cls
|
||||
)
|
||||
|
||||
pause
|
Loading…
Reference in New Issue
Block a user