msi-example: remove unused parameter in call :msi

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2020-05-05 15:47:17 +02:00 committed by Jason A. Donenfeld
parent 9b0c400511
commit 826c976523

View File

@ -28,8 +28,8 @@ if exist .deps\prepared goto :build
:build :build
set WIX=%BUILDDIR%.deps\wix\ set WIX=%BUILDDIR%.deps\wix\
call :msi x86 i686 x86 || goto :error call :msi x86 x86 || goto :error
call :msi amd64 x86_64 x64 || goto :error call :msi amd64 x64 || goto :error
if exist ..\sign.bat call ..\sign.bat if exist ..\sign.bat call ..\sign.bat
if "%SigningCertificate%"=="" goto :success if "%SigningCertificate%"=="" goto :success
if "%TimestampServer%"=="" goto :success if "%TimestampServer%"=="" goto :success
@ -50,7 +50,7 @@ if exist .deps\prepared goto :build
:msi :msi
if not exist "%~1" mkdir "%~1" if not exist "%~1" mkdir "%~1"
echo [+] Compiling %1 echo [+] Compiling %1
"%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dEXAMPLETUN_PLATFORM="%~1" -out "%~1\exampletun.wixobj" -arch %3 exampletun.wxs || exit /b %errorlevel% "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dEXAMPLETUN_PLATFORM="%~1" -out "%~1\exampletun.wixobj" -arch %2 exampletun.wxs || exit /b %errorlevel%
echo [+] Linking %1 echo [+] Linking %1
"%WIX%bin\light" %WIX_LIGHT_FLAGS% -out "dist\exampletun-%~1.msi" "%~1\exampletun.wixobj" || exit /b %errorlevel% "%WIX%bin\light" %WIX_LIGHT_FLAGS% -out "dist\exampletun-%~1.msi" "%~1\exampletun.wixobj" || exit /b %errorlevel%
goto :eof goto :eof