diff 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
line wrap: on
line diff
--- a/mac/finishup.sh	Mon Jan 02 01:32:18 2023 +0000
+++ b/mac/finishup.sh	Mon Jan 02 01:36:06 2023 +0000
@@ -6,7 +6,7 @@
     mkdir -p $2.app/Contents/MacOS
     mkdir -p $2.app/Contents/Resources
 
-    cat $1/mac/Info.plist | sed s/APPNAME/$2/ >  $2.app/Contents/Info.plist
+    cat $1/mac/Info.template | sed s/APPNAME/$2/ >  $2.app/Contents/Info.plist
     cp -f $1/mac/PkgInfo $2.app/Contents 
     cp -f $1/mac/file.png $2.app/Contents/Resources
     cp -f $1/mac/folder.png $2.app/Contents/Resources