aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/build.bat
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-08-07 10:03:56 +0200
committerSimon Rozman <simon@rozman.si>2019-08-07 10:03:56 +0200
commit17f2d4837a2d0a7b0ea425be8be1658de6167915 (patch)
tree5cdc57e6088837f70575a24e5d7082ee6560ab2e /installer/build.bat
parentbuild: simplify path management (diff)
downloadwireguard-windows-17f2d4837a2d0a7b0ea425be8be1658de6167915.tar.xz
wireguard-windows-17f2d4837a2d0a7b0ea425be8be1658de6167915.zip
installer: unify WIREGUARD_-specific WiX variables
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'installer/build.bat')
-rw-r--r--installer/build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/build.bat b/installer/build.bat
index eee8719d..35873744 100644
--- a/installer/build.bat
+++ b/installer/build.bat
@@ -63,7 +63,7 @@ if exist .deps\prepared goto :build
:msi
echo [+] Compiling %1
- "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dPlatform="%~1" -out "%~1\wireguard.wixobj" -arch %2 wireguard.wxs || exit /b %errorlevel%
+ "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dWIREGUARD_PLATFORM="%~1" -out "%~1\wireguard.wixobj" -arch %2 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%
goto :eof