mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
4d8782e74f
I've shifted away from using the SVN revision number as a monotonic version identifier (replacing it in the Windows version resource with a count of days since an arbitrary epoch), and I've removed all uses of SVN keyword expansion (replacing them with version information written out by Buildscr). While I'm at it, I've done a major rewrite of the affected code which centralises all the computation of the assorted version numbers and strings into Buildscr, so that they're all more or less alongside each other rather than scattered across multiple source files. I've also retired the MD5-based manifest file system. A long time ago, it seemed like a good idea to arrange that binaries of PuTTY would automatically cease to identify themselves as a particular upstream version number if any changes were made to the source code, so that if someone made a local tweak and distributed the result then I wouldn't get blamed for the results. Since then I've decided the whole idea is more trouble than it's worth, so now distribution tarballs will have version information baked in and people can just cope with that. [originally from svn r10262]
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
/*
|
|
* Standard Windows version information.
|
|
* (For inclusion in other .rc files with appropriate macro definitions.)
|
|
* FIXME: This file is called '.rc2' rather than '.rc' to avoid MSVC trying
|
|
* to compile it on its own when using the project files. Nicer solutions
|
|
* welcome.
|
|
*/
|
|
|
|
#include "version.h"
|
|
|
|
/*
|
|
* The actual VERSIONINFO resource.
|
|
*/
|
|
VS_VERSION_INFO VERSIONINFO
|
|
/* (None of this "fixed" info appears to be trivially user-visible on
|
|
* Win98SE. The binary version does show up on Win2K.) */
|
|
FILEVERSION BINARY_VERSION
|
|
PRODUCTVERSION BINARY_VERSION /* version of whole suite */
|
|
FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PRIVATEBUILD
|
|
FILEFLAGS 0x0L
|
|
#if defined DEBUG
|
|
| VS_FF_DEBUG
|
|
#endif
|
|
#if defined SNAPSHOT || defined PRERELEASE
|
|
| VS_FF_PRERELEASE
|
|
#elif !defined RELEASE
|
|
| VS_FF_PRIVATEBUILD
|
|
#endif
|
|
FILEOS VOS__WINDOWS32
|
|
FILETYPE VFT_APP
|
|
FILESUBTYPE 0x0L /* n/a for VFT_APP */
|
|
BEGIN
|
|
/* (On Win98SE and Win2K, we can see most of this on the Version tab
|
|
* in the file properties in Explorer.) */
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
/* "lang-charset" LLLLCCCC = (UK English, Unicode) */
|
|
BLOCK "080904B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Simon Tatham" /* required :/ */
|
|
VALUE "ProductName", "PuTTY suite"
|
|
VALUE "FileDescription", APPDESC
|
|
VALUE "InternalName", APPNAME
|
|
VALUE "OriginalFilename", APPNAME
|
|
VALUE "FileVersion", TEXTVER
|
|
VALUE "ProductVersion", TEXTVER
|
|
VALUE "LegalCopyright", "Copyright \251 1997-2014 Simon Tatham."
|
|
#if (!defined SNAPSHOT) && (!defined RELEASE) && (!defined PRERELEASE)
|
|
/* Only if VS_FF_PRIVATEBUILD. */
|
|
VALUE "PrivateBuild", TEXTVER /* NBI */
|
|
#endif
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
/* Once again -- same meanings -- apparently necessary */
|
|
VALUE "Translation", 0x809, 1200
|
|
END
|
|
END
|