aboutsummaryrefslogtreecommitdiffstats
path: root/resources.rc
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-01 11:14:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-01 11:14:12 +0200
commitcff4e77bfe62606c19c205e02fd63b3777855392 (patch)
treeec8573073bf68253267ed741b60bf23b8e4554a3 /resources.rc
parentui: support clipboard copying for log items (diff)
downloadwireguard-windows-cff4e77bfe62606c19c205e02fd63b3777855392.tar.xz
wireguard-windows-cff4e77bfe62606c19c205e02fd63b3777855392.zip
version: dynamically get file version
Diffstat (limited to 'resources.rc')
-rw-r--r--resources.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources.rc b/resources.rc
index fd3a521d..1677ae13 100644
--- a/resources.rc
+++ b/resources.rc
@@ -11,8 +11,8 @@ CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST manifest.xml
1 ICON ui/icon/icon.ico
VS_VERSION_INFO VERSIONINFO
-FILEVERSION 0,0,0,1
-PRODUCTVERSION 0,0,0,1
+FILEVERSION WIREGUARD_WINDOWS_VERSION_ARRAY
+PRODUCTVERSION WIREGUARD_WINDOWS_VERSION_ARRAY
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
@@ -23,12 +23,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "WireGuard LLC"
VALUE "FileDescription", "WireGuard: Fast, Modern, Secure VPN Tunnel"
- VALUE "FileVersion", WIREGUARD_WINDOWS_VERSION
+ VALUE "FileVersion", WIREGUARD_WINDOWS_VERSION_STRING
VALUE "InternalName", "wireguard"
VALUE "LegalCopyright", "Copyright \xa9 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved."
VALUE "OriginalFilename", "wireguard.exe"
VALUE "ProductName", "WireGuard"
- VALUE "ProductVersion", WIREGUARD_WINDOWS_VERSION
+ VALUE "ProductVersion", WIREGUARD_WINDOWS_VERSION_STRING
VALUE "Comments", "https://www.wireguard.com/"
END
END