diff options
author | Robert Adam <dev@robert-adam.de> | 2021-11-28 20:52:17 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-11-28 22:12:06 +0300 |
commit | 6fdc8affc2c91c759f85a4b0653bd36aee5f6e69 (patch) | |
tree | 4264602fadc6a8f200270742d43ec10ab8a1fdc0 /overlay/overlay_exe | |
parent | cd8ae5f71d052fd21086e9d9e0cf9697c68f964c (diff) |
BUILD: Use build number instead of patch version
Using a four-segment version (major.minor.patch.build) is causing issues
on Windows, because it tends to ignore the fourth version number in most
cases. This can cause upgrades to fail and/or multiple entries being
created in the installed applications list.
For this reason, this commit changes the version format to be
major.minor.build.
Fixes #4921
Diffstat (limited to 'overlay/overlay_exe')
-rw-r--r-- | overlay/overlay_exe/overlay_exe.rc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/overlay/overlay_exe/overlay_exe.rc.in b/overlay/overlay_exe/overlay_exe.rc.in index d88dda921..90b21c937 100644 --- a/overlay/overlay_exe/overlay_exe.rc.in +++ b/overlay/overlay_exe/overlay_exe.rc.in @@ -18,8 +18,8 @@ #endif VS_VERSION_INFO VERSIONINFO - FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_TWEAK@ - PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_TWEAK@ + FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@ + PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEFLAGS (VER_DEBUG|VER_RELEASE) FILEOS VOS_NT_WINDOWS32 |