Merge pull request #98 from selvanair/version-info

Update version-info resource
pull/85/head
Samuli Seppänen 2016-11-21 16:10:58 +02:00 committed by GitHub
commit f856b9aeea
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,7 @@ define([_GUI_VERSION_MAJOR], [11])
define([_GUI_VERSION_MINOR], [1])
AC_INIT([OpenVPN GUI],[_GUI_VERSION_MAJOR],[openvpn-devel@lists.sourceforge.net],[openvpn-gui],[https://github.com/openvpn/openvpn-gui/])
AC_DEFINE([PACKAGE_VERSION_RESOURCE], [_GUI_VERSION_MAJOR,_GUI_VERSION_MINOR,0,0], [Version in windows resource format])
AC_DEFINE([PACKAGE_VERSION_RESOURCE_STR], ["_GUI_VERSION_MAJOR._GUI_VERSION_MINOR.0.0"], [Version as a string])
AC_CONFIG_AUX_DIR([.])
AM_CONFIG_HEADER([config.h])
AC_CONFIG_SRCDIR([main.h])

View File

@ -59,6 +59,7 @@ ID_ICO_DISCONNECTED ICON DISCARDABLE "disconnected.ico"
/* Version information and such */
VS_VERSION_INFO VERSIONINFO
FILEVERSION PACKAGE_VERSION_RESOURCE
PRODUCTVERSION PACKAGE_VERSION_RESOURCE
FILEOS VOS_NT
FILETYPE VFT_APP
BEGIN
@ -89,11 +90,11 @@ BEGIN
BLOCK "040904B0" /* en_US, Unicode */
BEGIN
VALUE "FileDescription", PACKAGE_NAME " for Windows"
VALUE "FileVersion", PACKAGE_VERSION
VALUE "FileVersion", PACKAGE_VERSION_RESOURCE_STR
VALUE "InternalName", PACKAGE_TARNAME
VALUE "OriginalFilename", PACKAGE_TARNAME ".exe"
VALUE "ProductName", PACKAGE_NAME
VALUE "ProductVersion", PACKAGE_VERSION
VALUE "ProductVersion", PACKAGE_VERSION_RESOURCE_STR
VALUE "Website", PACKAGE_URL
VALUE "LegalCopyright", "The " PACKAGE_NAME " developers"
VALUE "CompanyName", PACKAGE_NAME