Fix OS X package building #438
4
osx.sh
Normal file → Executable file
4
osx.sh
Normal file → Executable file
|
@ -12,12 +12,12 @@ if [[ -z "$1" ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Creating OS X packages for Bitmessage. This script will ask for sudo to create the dmg volume"
|
echo "Creating OS X packages for Bitmessage."
|
||||||
|
|
||||||
cd src && python build_osx.py py2app
|
cd src && python build_osx.py py2app
|
||||||
|
|
||||||
if [[ $? = "0" ]]; then
|
if [[ $? = "0" ]]; then
|
||||||
sudo hdiutil create -fs HFS+ -volname "Bitmessage" -srcfolder dist/Bitmessage.app dist/bitmessage-v$1.dmg
|
hdiutil create -fs HFS+ -volname "Bitmessage" -srcfolder dist/Bitmessage.app dist/bitmessage-v$1.dmg
|
||||||
else
|
else
|
||||||
echo "Problem creating Bitmessage.app, stopping."
|
echo "Problem creating Bitmessage.app, stopping."
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -5,12 +5,15 @@ version = "0.3.4"
|
||||||
mainscript = ["bitmessagemain.py"]
|
mainscript = ["bitmessagemain.py"]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = name,
|
name = name,
|
||||||
version = version,
|
version = version,
|
||||||
app = mainscript,
|
app = mainscript,
|
||||||
setup_requires = ["py2app"],
|
setup_requires = ["py2app"],
|
||||||
options = dict(py2app=dict(
|
options = dict(
|
||||||
resources = ["images"],
|
py2app = dict(
|
||||||
iconfile = "images/bitmessage.icns"
|
resources = ["images"],
|
||||||
))
|
includes = ['sip', 'PyQt4._qt'],
|
||||||
|
iconfile = "images/bitmessage.icns"
|
||||||
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue
Block a user