mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-03-14 12:43:05 +00:00

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
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
// Copyright 2005-2020 The Mumble Developers. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license
|
|
// that can be found in the LICENSE file at the root of the
|
|
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
|
|
|
|
#include <winver.h>
|
|
|
|
#ifndef DEBUG
|
|
#define VER_DEBUG 0L
|
|
#else
|
|
#define VER_DEBUG VS_FF_DEBUG
|
|
#endif
|
|
|
|
#ifdef SNAPSHOT_BUILD
|
|
#define VER_RELEASE VS_FF_SPECIALBUILD|VS_FF_PRERELEASE
|
|
#else
|
|
#define VER_RELEASE 0L
|
|
#endif
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
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
|
|
FILETYPE VFT_DLL
|
|
FILESUBTYPE 0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904E4"
|
|
BEGIN
|
|
VALUE "CompanyName", "The Mumble Developers"
|
|
VALUE "FileDescription", "Mumble - Low-latency VoIP client"
|
|
VALUE "FileVersion", "@PROJECT_VERSION@"
|
|
VALUE "ProductVersion", "@PROJECT_VERSION@"
|
|
VALUE "LegalCopyright", "Copyright (c) 2005-@MUMBLE_BUILD_YEAR@ The Mumble Developers"
|
|
VALUE "OriginalFilename", "@OUTPUT_NAME@"
|
|
VALUE "ProductName", "Mumble"
|
|
#ifdef SNAPSHOT_BUILD
|
|
VALUE "SpecialBuild", "Snapshot development release"
|
|
#endif
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1252
|
|
END
|
|
END
|