view mac/finishup.sh @ 443:e99cd6e45c0b

Need to have a application package directory for binaries to properly run under MacOS. So added necessary files and a script to generate the package directory on MacOS.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 30 May 2003 19:50:18 +0000
parents
children 06be879f5137
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 mac/Info.plist dwtest.app/Contents
    cp -f mac/PkgInfo dwtest.app/Contents
    cp -f dwtest dwtest.app/Contents/MacOS
    /Developer/Tools/Rez  -o dwtest.app/Contents/Resources/dwtest.rsrc  -d "SystemSevenOrLater=1" -useDF mac/dwtest.r
fi