view mac/finishup.sh @ 1435:3c5287b8eebb

Temporary fix on Mac for box miscalculation when box is not expandable but items are in complex layouts. There is a fundamental flaw in the calculation of these types of boxes... and after looking at the code... in general the layout code does a lot more calculation than necessary... I will be rewriting and simplifying this code in the near future... but this is a temporary fix to get things to work better in the meantime.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 07 Dec 2011 18:51:48 +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