osx: makebundle.sh improvements
This commit is contained in:
parent
0f6434986f
commit
f92e72a92c
|
@ -85,3 +85,7 @@ resource.h
|
||||||
*.user
|
*.user
|
||||||
#OSX
|
#OSX
|
||||||
osx/HexChat.app
|
osx/HexChat.app
|
||||||
|
osx/.HexChat.app
|
||||||
|
po/.intltool-merge-cache
|
||||||
|
*.zip
|
||||||
|
*.dmg
|
||||||
|
|
|
@ -11,9 +11,15 @@ if [ ! -f $JHBUILD_PREFIX/bin/python ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf HexChat.app
|
rm -rf HexChat.app
|
||||||
|
rm -f *.app.zip
|
||||||
|
|
||||||
$JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle
|
$JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle
|
||||||
|
|
||||||
# These take up a lot of space in the bundle
|
# These take up a lot of space in the bundle
|
||||||
echo "Cleaning up python files"
|
echo "Cleaning up python files"
|
||||||
find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyo" -or -name "*.pyc" -delete
|
find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyc" -delete
|
||||||
|
find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyo" -delete
|
||||||
|
|
||||||
|
echo "Compressing bundle"
|
||||||
|
#hdiutil create -format UDBZ -srcdir HexChat.app -quiet HexChat-2.9.6.1-$(git rev-parse --short master).dmg
|
||||||
|
zip -9rXq ./HexChat-2.9.6.1-$(git rev-parse --short master).app.zip ./HexChat.app
|
||||||
|
|
Loading…
Reference in New Issue