diff options
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 |