Mercurial > dwindows
comparison mac/finishup.sh @ 2944:3dde7456c9f6
Mac: Create a Info.plist template to be used by the finishup script.
The Info.plist was being used unmodified by Xcode and was unable to find
the binary due to the variable replacement not being run on it.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 02 Jan 2023 01:36:06 +0000 |
parents | ef7a414f9b71 |
children | 48cfd7cb37a6 |
comparison
equal
deleted
inserted
replaced
2943:fbf43ea71c8e | 2944:3dde7456c9f6 |
---|---|
4 if [ $PLATFORM = "Darwin" ] | 4 if [ $PLATFORM = "Darwin" ] |
5 then | 5 then |
6 mkdir -p $2.app/Contents/MacOS | 6 mkdir -p $2.app/Contents/MacOS |
7 mkdir -p $2.app/Contents/Resources | 7 mkdir -p $2.app/Contents/Resources |
8 | 8 |
9 cat $1/mac/Info.plist | sed s/APPNAME/$2/ > $2.app/Contents/Info.plist | 9 cat $1/mac/Info.template | sed s/APPNAME/$2/ > $2.app/Contents/Info.plist |
10 cp -f $1/mac/PkgInfo $2.app/Contents | 10 cp -f $1/mac/PkgInfo $2.app/Contents |
11 cp -f $1/mac/file.png $2.app/Contents/Resources | 11 cp -f $1/mac/file.png $2.app/Contents/Resources |
12 cp -f $1/mac/folder.png $2.app/Contents/Resources | 12 cp -f $1/mac/folder.png $2.app/Contents/Resources |
13 cp -f $1/image/test.png $2.app/Contents/Resources | 13 cp -f $1/image/test.png $2.app/Contents/Resources |
14 cp -f $2 $2.app/Contents/MacOS | 14 cp -f $2 $2.app/Contents/MacOS |