aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/build.bat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-25 09:04:51 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-25 09:05:12 +0200
commitb1c01e311456b9631db46b88331172031eb7ae37 (patch)
tree3073a672899156e1959aab96024c403684727fe4 /installer/build.bat
parentinstaller: hardcode to 0.0.1 for now (diff)
downloadwireguard-windows-b1c01e311456b9631db46b88331172031eb7ae37.tar.xz
wireguard-windows-b1c01e311456b9631db46b88331172031eb7ae37.zip
installer: Use more clever shortcut installation and dirtier upgrades
Diffstat (limited to 'installer/build.bat')
-rw-r--r--installer/build.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/build.bat b/installer/build.bat
index 1dc1da61..f6ef95af 100644
--- a/installer/build.bat
+++ b/installer/build.bat
@@ -5,8 +5,8 @@ rem Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
for /f "tokens=3" %%a in ('findstr /r "[0-9.]*" ..\version.h') do set WIREGUARD_VERSION=%%a
set WIREGUARD_VERSION=%WIREGUARD_VERSION:"=%
-rem While our version numbers remain whonky, just hardcode this to 0.0.1.
-set WIREGUARD_VERSION=0.0.1
+rem While our version numbers remain whonky, just hardcode this to a version that makes msi always replace.
+set WIREGUARD_VERSION=0.0.0.1
set STARTDIR=%cd%
set OLDWIX=%WIX%