diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-03-06 22:45:29 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-03-06 22:45:29 (GMT) |
commit | bb74f95821406c3fbd970561c719fa70c02521b5 (patch) | |
tree | 18e4c4bc39b15fa56c10d574116350ead69cd9fa /Mac/Resources/Carbon.r | |
parent | 36bcf9b94f8cbec99881f07225f4c682a7fecbe2 (diff) | |
download | cpython-bb74f95821406c3fbd970561c719fa70c02521b5.zip cpython-bb74f95821406c3fbd970561c719fa70c02521b5.tar.gz cpython-bb74f95821406c3fbd970561c719fa70c02521b5.tar.bz2 |
Started on plst resource. Not enabled yet.
Diffstat (limited to 'Mac/Resources/Carbon.r')
-rw-r--r-- | Mac/Resources/Carbon.r | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/Mac/Resources/Carbon.r b/Mac/Resources/Carbon.r index b072984..c19a032 100644 --- a/Mac/Resources/Carbon.r +++ b/Mac/Resources/Carbon.r @@ -4,12 +4,30 @@ * by Josef W. Wankerl * 04/11/00 */ - - -/*----------------------------carb € Carbon on OS X launch information --------------------------*/ +#define USE_CARB_RESOURCE +#ifdef USE_CARB_RESOURCE +/*----------------------------carb ¥ Carbon on OS X launch information --------------------------*/ type 'carb' { }; resource 'carb'(0) { -};
\ No newline at end of file +}; +#else + +#include "macbuildno.h" + +#include "patchlevel.h" + +type 'plst' +{ + string; +}; + +resource 'plst' (0) +{ + "CFBundleName = \"MacPython\";\n" /* short name for Mac OS X */ + "CFBundleShortVersionString = \""PY_VERSION"\";\n" + "CFBundleGetInfoString = \"MacPython "PY_VERSION".\";\n" +}; +#endif |