view mac/finishup.sh @ 506:f1998a89a4d5

Load the Win2K/98 functions dynamically so the same DW.DLL binary will work on Windows 95 and NT with the enhanced menu functionality automatically disabled.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Jan 2004 06:31:41 +0000
parents e99cd6e45c0b
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