1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Tweak version string resources for EMBED_CHM.

So that it's possible to distinguish the CHMful from the CHMless binary
without running it.
This commit is contained in:
Jacob Nevins 2019-03-16 01:30:34 +00:00 committed by Simon Tatham
parent a8d3008143
commit 8b7458119f
4 changed files with 9 additions and 2 deletions

View File

@ -3,8 +3,8 @@
#define APPNAME "PuTTY"
#define APPDESC "SSH, Telnet and Rlogin client"
#include "win_res.rc2"
#include "winhelp.rc2"
#include "win_res.rc2"
#ifndef NO_MANIFESTS
1 RT_MANIFEST "putty.mft"

View File

@ -3,8 +3,8 @@
#define APPNAME "PuTTYtel"
#define APPDESC "Telnet and Rlogin client"
#include "win_res.rc2"
#include "winhelp.rc2"
#include "win_res.rc2"
#ifndef NO_MANIFESTS
1 RT_MANIFEST "puttytel.mft"

View File

@ -46,7 +46,11 @@ BEGIN
VALUE "FileDescription", APPDESC
VALUE "InternalName", APPNAME
VALUE "OriginalFilename", APPNAME
#if (defined HELPVER)
VALUE "FileVersion", TEXTVER HELPVER
#else
VALUE "FileVersion", TEXTVER
#endif
VALUE "ProductVersion", TEXTVER
VALUE "LegalCopyright", "Copyright \251 " SHORT_COPYRIGHT_DETAILS "."
#if (!defined SNAPSHOT) && (!defined RELEASE) && (!defined PRERELEASE)

View File

@ -2,4 +2,7 @@
#ifdef EMBED_CHM
ID_CUSTOM_CHMFILE TYPE_CUSTOM_CHMFILE "../doc/putty.chm"
#define HELPVER " (with embedded help)"
#else
#define HELPVER " (without embedded help)"
#endif