mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
make short and long version strings the next release instead of the current release (peer id is still the current release with a beta flag)
This commit is contained in:
parent
79b85b36ab
commit
02447d12b5
3 changed files with 5 additions and 3 deletions
|
@ -40,6 +40,8 @@ AboutWindowController * fAboutBoxInstance = nil;
|
|||
[fVersionField setStringValue: [NSString stringWithFormat: @"%@ (%@)",
|
||||
[info objectForKey: @"CFBundleShortVersionString"], [info objectForKey: (NSString *)kCFBundleVersionKey]]];
|
||||
|
||||
#warning get copyright info from file
|
||||
|
||||
[[fTextView textStorage] setAttributedString: [[[NSAttributedString alloc] initWithPath:
|
||||
[[NSBundle mainBundle] pathForResource: @"Credits" ofType: @"rtf"] documentAttributes: nil] autorelease]];
|
||||
|
||||
|
|
|
@ -273,7 +273,7 @@ msg_default ( enum ipc_msg msgid, benc_val_t * val, int64_t tag, void * arg );
|
|||
_controller = controller;
|
||||
_buf = [[NSMutableData alloc] init];
|
||||
|
||||
buf = ipc_mkvers( &size, "Transmission MacOS X " LONG_VERSION_STRING );
|
||||
buf = ipc_mkvers( &size, "Transmission Mac OS X " LONG_VERSION_STRING );
|
||||
if( NULL == _ipc || nil == _buf || NULL == buf ||
|
||||
![self sendresp: buf size: size] )
|
||||
{
|
||||
|
|
|
@ -48,8 +48,8 @@ cat > libtransmission/version.h.new << EOF
|
|||
#define VERSION_MAINTENANCE "$MAINT"
|
||||
#define VERSION_REVISION "$REV"
|
||||
#define VERSION_BETA "$BETA"
|
||||
#define SHORT_VERSION_STRING "$MAJOR.$MINOR$MAINT$BETA"
|
||||
#define LONG_VERSION_STRING "$MAJOR.$MINOR$MAINT$BETA (r$REV)"
|
||||
#define SHORT_VERSION_STRING "$STRING"
|
||||
#define LONG_VERSION_STRING "$STRING ($REV)"
|
||||
EOF
|
||||
replace_if_differs libtransmission/version.h.new libtransmission/version.h
|
||||
|
||||
|
|
Loading…
Reference in a new issue