view mac/finishup.sh @ 938:cfcf66a90e8c

Add support for different image file types in dw_*_from_file() functions. Supported types are: png, ico, icns, gif, jpg, jpeg, tiff, bmp
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 27 Apr 2011 07:56:50 +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