view mac/finishup.sh @ 449:787cc1e27897

Add support for directory browsing under Win32. DW_DIRECTORY_OPEN can be passed as a flag to dw_file_open() and under Windows a folder select dialog is displayed. No change for GTK; don't know about OS/2 or MAC.
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 17 Jun 2003 01:45:58 +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