2014-11-28 09:18:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-03-12 13:14:19 +00:00
|
|
|
# Expect path to app bundle argument
|
2014-11-28 09:18:10 +00:00
|
|
|
export bundle=$1
|
|
|
|
export projectFolder=$(dirname $0)
|
|
|
|
export gitVersion=$(cat ${projectFolder}/git.version)
|
|
|
|
|
2017-03-12 13:14:19 +00:00
|
|
|
echo Postprocessing ${bundle}...
|
2014-11-28 09:18:10 +00:00
|
|
|
|
|
|
|
export PATH=/usr/local/bin:/opt/local/bin:/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin
|
|
|
|
|
|
|
|
${projectFolder}/checkGit.sh
|
|
|
|
tar -x -f ${projectFolder}/git-${gitVersion}.tar.gz -C ${bundle}/Contents/Resources
|
|
|
|
cp -R SparkleShareInviteOpener.app ${bundle}/Contents/Resources
|
|
|
|
cp config ${bundle}/Contents/MonoBundle
|