Jack Jansen | b1aac24 | 2000-07-18 09:43:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Permit this Carbon application to launch on OS X |
| 3 | * |
| 4 | * by Josef W. Wankerl |
| 5 | * 04/11/00 |
| 6 | */ |
Jack Jansen | bb74f95 | 2001-03-06 22:45:29 +0000 | [diff] [blame] | 7 | #define USE_CARB_RESOURCE |
| 8 | #ifdef USE_CARB_RESOURCE |
Jack Jansen | 3f4c173 | 2001-03-27 21:32:34 +0000 | [diff] [blame] | 9 | /*----------------------------carb Carbon on OS X launch information --------------------------*/ |
Jack Jansen | b1aac24 | 2000-07-18 09:43:27 +0000 | [diff] [blame] | 10 | type 'carb' { |
| 11 | }; |
| 12 | |
| 13 | |
| 14 | resource 'carb'(0) { |
Jack Jansen | bb74f95 | 2001-03-06 22:45:29 +0000 | [diff] [blame] | 15 | }; |
| 16 | #else |
| 17 | |
| 18 | #include "macbuildno.h" |
| 19 | |
| 20 | #include "patchlevel.h" |
| 21 | |
| 22 | type 'plst' |
| 23 | { |
| 24 | string; |
| 25 | }; |
| 26 | |
| 27 | resource 'plst' (0) |
| 28 | { |
| 29 | "CFBundleName = \"MacPython\";\n" /* short name for Mac OS X */ |
| 30 | "CFBundleShortVersionString = \""PY_VERSION"\";\n" |
| 31 | "CFBundleGetInfoString = \"MacPython "PY_VERSION".\";\n" |
| 32 | }; |
| 33 | #endif |