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"
|
copy "%QTDIR%\plugins\imageformats\q???4.dll" "%TMP_PATH%\imageformats"
|
||||||
)
|
)
|
||||||
REM ------------------------------------------
|
REM ------------------------------------------
|
||||||
|
if "%LAMEXP_SKIP_BUILD%"=="YES" (
|
||||||
|
goto SkipPackingThisTime
|
||||||
|
)
|
||||||
|
REM ------------------------------------------
|
||||||
for %%f in ("%TMP_PATH%\*.exe") do (
|
for %%f in ("%TMP_PATH%\*.exe") do (
|
||||||
"%PATH_UPXBIN%\upx.exe" --best "%%f"
|
"%PATH_UPXBIN%\upx.exe" --best "%%f"
|
||||||
)
|
)
|
||||||
@ -115,6 +119,8 @@ for %%f in ("%TMP_PATH%\*.dll") do (
|
|||||||
"%PATH_UPXBIN%\upx.exe" --best "%%f"
|
"%PATH_UPXBIN%\upx.exe" --best "%%f"
|
||||||
)
|
)
|
||||||
REM ------------------------------------------
|
REM ------------------------------------------
|
||||||
|
:SkipPackingThisTime
|
||||||
|
REM ------------------------------------------
|
||||||
if exist "%~dp0\_postproc.bat" (
|
if exist "%~dp0\_postproc.bat" (
|
||||||
call "%~dp0\_postproc.bat" "%TMP_PATH%"
|
call "%~dp0\_postproc.bat" "%TMP_PATH%"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user