summaryrefslogtreecommitdiff
path: root/SparkleShare/Mac/postBuild.sh
blob: 6fe1222d7121fdc5acb36e73d79c4f23e43bf8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Expect path to app bundle argument
export bundle=$1
export projectFolder=$(dirname $0)

echo Postprocessing ${bundle}...

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.tar.gz --directory ${bundle}/Contents/Resources
cp -R SparkleShareInviteOpener.app ${bundle}/Contents/Resources
cp config ${bundle}/Contents/MonoBundle