From 356048e2a95502a37e4ce413ddbefab5320737db Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 9 Aug 2019 09:13:10 +0200 Subject: installer: clean up logic --- installer/build.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'installer/build.bat') diff --git a/installer/build.bat b/installer/build.bat index 8d438af9..1f9fa729 100644 --- a/installer/build.bat +++ b/installer/build.bat @@ -61,9 +61,8 @@ if exist .deps\prepared goto :build set LDFLAGS=-shared -s -Wl,--kill-at -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 set LDLIBS=-lmsi -lole32 -lshlwapi if not exist "%~1" mkdir "%~1" - echo [+] Compiling custom actions %1 - %CC% %CFLAGS% %LDFLAGS% -o "%~1\customactions.dll" customactions.c %LDLIBS% || exit /b 1 echo [+] Compiling %1 + %CC% %CFLAGS% %LDFLAGS% -o "%~1\customactions.dll" customactions.c %LDLIBS% || exit /b 1 "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dWIREGUARD_PLATFORM="%~1" -out "%~1\wireguard.wixobj" -arch %3 wireguard.wxs || exit /b %errorlevel% echo [+] Linking %1 "%WIX%bin\light" %WIX_LIGHT_FLAGS% -out "dist\wireguard-%~1-%WIREGUARD_VERSION%.msi" "%~1\wireguard.wixobj" || exit /b %errorlevel% -- cgit v1.2.3-59-g8ed1b