From 8e416b9e26d610cc78607d1a8ccaca87e6e35b49 Mon Sep 17 00:00:00 2001 From: Paul Liverman Date: Mon, 29 Dec 2014 22:13:14 -0800 Subject: [PATCH] fix Info.plist gen gone wrong directory --- build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build b/build index b389ac8..87f94ef 100644 --- a/build +++ b/build @@ -133,11 +133,13 @@ echo " Done." echo "Building $packageName (version $version)... (OS X zip)" cd "$osx10Dir" # Make a fresh copy of the .app directory -cp ./love.app "./$packageName.app" +cp -r ./love.app "./$packageName.app" # Copy in our .love file cp "$outputDir/$packageName-$version.love" "$osx10Dir/$packageName.app/Contents/Resources/$packageName.love" # Create an Info.plist and copy it in +cd "$originalDir" source "$originalDir/scripts/Info.plist-maker.sh" +cd "$osx10Dir" cp "$originalDir/tmp/Info.plist" "$osx10Dir/$packageName.app/Contents/Info.plist" # ZIP up the .app directory zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" "./$packageName.app"