diff --git a/Mac/Resources/Carbon.r b/Mac/Resources/Carbon.r index b07298453ae..c19a032c2c7 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