simplified the app_version resource

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3057 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit 2003-04-06 12:26:49 +00:00
parent e664742f9d
commit 41d848e7c0

View File

@ -3,47 +3,26 @@
**
*/
/* BEOS:APP_VERSION :
see also <be/storage/AppFileInfo.h:26>
/*
BEOS:APP_VERSION resources have a specific format, see also
<be/storage/AppFileInfo.h:26>
note: Although you can specify the system version here,
it is not within your rights to do so. Specify
only the application version and trust that the
system version will be set for you. (it will)
*/
But thanks to the rc resource compiler, you don't have to worry
about any of that ;-)
*/
resource app_version {
/* major, middle, and minor version */
(uint32) 1, (uint32) 0, (uint32) 0,
/* "variety"
0 = development 1 = alpha 2 = beta
3 = gamma 4 = golden master 5 = final */
(uint32) 0,
/* internal version */
(uint32) 1,
/* short info : note that this must be exactly 64 characters, so if
you add to the string, take away from the spaces. if you use
all the spaces up you must account for the extra null that is
missing as well. */
/*-from start quote to end quote,the next line must be this long-*/
"R1.0.0d1 ",
/* long info : Note that this must be exactly 256 characters, so if
you add to the string, take away from the spaces. If you use
all the spaces up you must account for the extra null that is
missing as well. So, if you remove [","] replace it with [ ].
You can check this by opening the generated resource file in
QuickRes. BEOS:APP_VERSION should be 340 bytes long. */
/*-from start quote to end quote,the next line must be this long-*/
"OpenBeOS 1.0.0d1 ©2002 OpenBeOS Project "
" "
" "
" "
/*--lines that don't have a comma in them should be this long--*/
major = 1,
middle = 0,
minor = 0,
/* 0 = development 1 = alpha 2 = beta
3 = gamma 4 = golden master 5 = final */
variety = 0,
internal = 1,
short_info = "R1.0.0d1",
long_info = "OpenBeOS 1.0.0d1 ©2002 OpenBeOS Project"
};