diff --git a/api/resources.rc b/api/resources.rc index 607eee6..869e9b9 100644 --- a/api/resources.rc +++ b/api/resources.rc @@ -27,8 +27,8 @@ wintun-arm64.dll RCDATA "arm64\\wintun.dll" #define EXPAND(x) STRINGIZE(x) VS_VERSION_INFO VERSIONINFO -FILEVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, 0, 0 -PRODUCTVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, 0, 0 +FILEVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, WINTUN_VERSION_REL, 0 +PRODUCTVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, WINTUN_VERSION_REL, 0 FILEOS VOS_NT_WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE VFT2_UNKNOWN @@ -39,12 +39,12 @@ BEGIN BEGIN VALUE "CompanyName", "WireGuard LLC" VALUE "FileDescription", "Wintun API Library" - VALUE "FileVersion", EXPAND(WINTUN_VERSION_STR) + VALUE "FileVersion", EXPAND(WINTUN_VERSION) VALUE "InternalName", "wintun.dll" VALUE "LegalCopyright", "Copyright \xa9 2018-2021 WireGuard LLC. All Rights Reserved." VALUE "OriginalFilename", "wintun.dll" VALUE "ProductName", "Wintun Driver" - VALUE "ProductVersion", EXPAND(WINTUN_VERSION_STR) + VALUE "ProductVersion", EXPAND(WINTUN_VERSION) VALUE "Comments", "https://www.wintun.net/" END END diff --git a/driver/wintun.rc b/driver/wintun.rc index 8552b80..0f452a7 100644 --- a/driver/wintun.rc +++ b/driver/wintun.rc @@ -10,8 +10,8 @@ #define EXPAND(x) STRINGIZE(x) VS_VERSION_INFO VERSIONINFO -FILEVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, 0, 0 -PRODUCTVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, 0, 0 +FILEVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, WINTUN_VERSION_REL, 0 +PRODUCTVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, WINTUN_VERSION_REL, 0 FILEOS VOS_NT_WINDOWS32 FILETYPE VFT_DRV FILESUBTYPE VFT2_DRV_SYSTEM @@ -22,12 +22,12 @@ BEGIN BEGIN VALUE "CompanyName", "WireGuard LLC" VALUE "FileDescription", "Wintun Driver" - VALUE "FileVersion", EXPAND(WINTUN_VERSION_STR) + VALUE "FileVersion", EXPAND(WINTUN_VERSION) VALUE "InternalName", "wintun.sys" VALUE "LegalCopyright", "Copyright \xa9 2018-2021 WireGuard LLC. All Rights Reserved." VALUE "OriginalFilename", "wintun.sys" VALUE "ProductName", "Wintun Driver" - VALUE "ProductVersion", EXPAND(WINTUN_VERSION_STR) + VALUE "ProductVersion", EXPAND(WINTUN_VERSION) VALUE "Comments", "https://www.wintun.net/" END END diff --git a/wintun.proj b/wintun.proj index fb73ab0..af42d03 100644 --- a/wintun.proj +++ b/wintun.proj @@ -100,7 +100,7 @@ Zip Building --> - dist\wintun-$(WintunVersionStr).zip + dist\wintun-$(WintunVersion).zip dist\.tmp\ diff --git a/wintun.props b/wintun.props index 7f397f3..4219ebe 100644 --- a/wintun.props +++ b/wintun.props @@ -8,8 +8,11 @@ 0 10 - 0.10 - $(WintunVersionMaj).$(WintunVersionMin) + 2 + + + $(WintunVersionMaj).$(WintunVersionMin) + $(WintunVersion).$(WintunVersionRel) arm @@ -19,11 +22,11 @@ - WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_STR="$(WintunVersionStr)";%(PreprocessorDefinitions) + WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_REL=$(WintunVersionRel);WINTUN_VERSION="$(WintunVersion)";%(PreprocessorDefinitions) Level4 - WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_STR="$(WintunVersionStr)";%(PreprocessorDefinitions) + WINTUN_VERSION_MAJ=$(WintunVersionMaj);WINTUN_VERSION_MIN=$(WintunVersionMin);WINTUN_VERSION_REL=$(WintunVersionRel);WINTUN_VERSION="$(WintunVersion)";%(PreprocessorDefinitions)