Do not pack the EXE file when the deployment script is run in "skip build this time" mode.
This commit is contained in:
parent
11781e8a8d
commit
a77f65fac3
@ -108,6 +108,10 @@ if "%LAMEXP_REDIST%"=="1" (
|
||||
copy "%QTDIR%\plugins\imageformats\q???4.dll" "%TMP_PATH%\imageformats"
|
||||
)
|
||||
REM ------------------------------------------
|
||||
if "%LAMEXP_SKIP_BUILD%"=="YES" (
|
||||
goto SkipPackingThisTime
|
||||
)
|
||||
REM ------------------------------------------
|
||||
for %%f in ("%TMP_PATH%\*.exe") do (
|
||||
"%PATH_UPXBIN%\upx.exe" --best "%%f"
|
||||
)
|
||||
@ -115,6 +119,8 @@ for %%f in ("%TMP_PATH%\*.dll") do (
|
||||
"%PATH_UPXBIN%\upx.exe" --best "%%f"
|
||||
)
|
||||
REM ------------------------------------------
|
||||
:SkipPackingThisTime
|
||||
REM ------------------------------------------
|
||||
if exist "%~dp0\_postproc.bat" (
|
||||
call "%~dp0\_postproc.bat" "%TMP_PATH%"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user