Mercurial > dwindows
view mac/finishup.sh @ 1770:2396655d43f1
Fix some warnings with Mac 10.8 and Xcode 4.5.
The Carbon Gestalt() function is now deprecated, switched to NSProcessInfo.
Fix some format mismatches... NSPointerArray pointerArrayWithWeakObjects is also
deprecated but I am not sure what to replace it with yet.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 12 Jul 2012 20:29:12 +0000 |
parents | 6382fd88b49a |
children | 1a196ada0bc9 |
line wrap: on
line source
#!/bin/sh PLATFORM=`uname -s` if [ $PLATFORM = "Darwin" ] then mkdir -p dwtest.app/Contents/MacOS mkdir -p dwtest.app/Contents/Resources cp -f $1/mac/Info.plist dwtest.app/Contents cp -f $1/mac/PkgInfo dwtest.app/Contents cp -f dwtest dwtest.app/Contents/MacOS fi