From: Jack Jansen Date: Tue, 6 Mar 2001 22:45:29 +0000 (+0000) Subject: Started on plst resource. Not enabled yet. X-Git-Tag: v2.1b2~211 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb74f95821406c3fbd970561c719fa70c02521b5;p=python Started on plst resource. Not enabled yet. --- diff --git a/Mac/Resources/Carbon.r b/Mac/Resources/Carbon.r index b07298453a..c19a032c2c 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