mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Move the 'vers' resources for Mac OS into their own file, to be shared
by the various applications. [originally from svn r2843]
This commit is contained in:
parent
8dcbb16ec2
commit
ff507407b1
@ -60,7 +60,7 @@ The Windows installer script:
|
|||||||
The Mac resource file (used to generate the binary bit of the 'vers'
|
The Mac resource file (used to generate the binary bit of the 'vers'
|
||||||
resources -- the strings are supplied by the usual means):
|
resources -- the strings are supplied by the usual means):
|
||||||
|
|
||||||
- putty/mac/mac_res.r
|
- putty/mac/version.r
|
||||||
|
|
||||||
The actual release procedure
|
The actual release procedure
|
||||||
----------------------------
|
----------------------------
|
||||||
|
54
mac/version.r
Normal file
54
mac/version.r
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Current PuTTY version number. Minor is in BCD
|
||||||
|
*/
|
||||||
|
#define VERSION_MAJOR 0x00
|
||||||
|
#define VERSION_MINOR 0x53
|
||||||
|
|
||||||
|
resource 'vers' (1, purgeable) {
|
||||||
|
#ifdef RELEASE
|
||||||
|
VERSION_MAJOR, VERSION_MINOR,
|
||||||
|
beta,
|
||||||
|
#else
|
||||||
|
VERSION_MAJOR, VERSION_MINOR + 1,
|
||||||
|
development,
|
||||||
|
#endif
|
||||||
|
0, /* No prerelease version */
|
||||||
|
verBritain,
|
||||||
|
#ifdef RELEASESTR
|
||||||
|
RELEASESTR,
|
||||||
|
"Release " RELEASESTR,
|
||||||
|
#else
|
||||||
|
#ifdef SNAPSHOTSTR
|
||||||
|
SNAPSHOTSTR,
|
||||||
|
"Development snapshot " SNAPSHOTSTR,
|
||||||
|
#else
|
||||||
|
"unknown",
|
||||||
|
"Unidentified build, " $$Date " " $$Time,
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
resource 'vers' (2, purgeable) {
|
||||||
|
#ifdef RELEASE
|
||||||
|
VERSION_MAJOR, VERSION_MINOR,
|
||||||
|
beta,
|
||||||
|
#else
|
||||||
|
VERSION_MAJOR, VERSION_MINOR + 1,
|
||||||
|
development,
|
||||||
|
#endif
|
||||||
|
0, /* No prerelease version */
|
||||||
|
verBritain,
|
||||||
|
#ifdef RELEASESTR
|
||||||
|
RELEASESTR,
|
||||||
|
"PuTTY " RELEASESTR,
|
||||||
|
#else
|
||||||
|
#ifdef SNAPSHOTSTR
|
||||||
|
SNAPSHOTSTR,
|
||||||
|
"PuTTY snapshot " SNAPSHOTSTR,
|
||||||
|
#else
|
||||||
|
"unknown",
|
||||||
|
"PuTTY",
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user