diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mac/finishup.sh	Fri May 30 19:50:18 2003 +0000
@@ -0,0 +1,13 @@
+#!/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
\ No newline at end of file