diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-19 12:26:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-19 12:26:58 +0200 |
commit | 71d8892c19b6a1dbfac7d40a3bb6717316e872b9 (patch) | |
tree | 61b7ee05e50e6087aa46b4e86dcc1609975e8515 /macosx/make-app-bundle.sh | |
parent | 3ad67aaa96be824dbcd2c9334dc709d7d4dec08e (diff) |
app bundle finally works
Diffstat (limited to 'macosx/make-app-bundle.sh')
-rw-r--r-- | macosx/make-app-bundle.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/macosx/make-app-bundle.sh b/macosx/make-app-bundle.sh index 7e79d6db..d0588ae2 100644 --- a/macosx/make-app-bundle.sh +++ b/macosx/make-app-bundle.sh @@ -14,16 +14,15 @@ test -n "$version" || exit 1 tmp="$(mktemp -d "/tmp/$APPNAME-tmp.XXXXXXX")" test $? -eq 0 || exit 1 -"$dir/install-fail-tool" "$install" +sh "$dir/install-fail-tool" "$install" cp -R "$dir/opentrack.app" "$tmp/" || exit 1 cp -R "$install" "$tmp/$APPNAME.app/Contents/MacOS" || exit 1 sed -i '' -e "s#@OPENTRACK-VERSION@#$version#g" "$tmp/$APPNAME.app/Contents/Info.plist" || exit 1 -#cp "$dir/qt.conf" "$tmp/$APPNAME.app/Contents/MacOS" || exit 1 - mkdir "$tmp/$APPNAME.iconset" || exit 1 mkdir "$tmp/$APPNAME.app/Contents/Resources" || exit 1 +cp "$dir"/opentrack.sh "$tmp/$APPNAME.app/Contents/MacOS" || exit 1 sips -z 16 16 "$dir/../facetracknoir/images/facetracknoir.png" --out "$tmp/$APPNAME.iconset/icon_16x16.png" || exit 1 sips -z 32 32 "$dir/../facetracknoir/images/facetracknoir.png" --out "$tmp/$APPNAME.iconset/icon_16x16@2x.png" || exit 1 |