Mercurial > mamba
changeset 466:5da148acb36a
Fixed icon in .app file. \o/ (Why does py2app not just do this for us?)
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 17 Sep 2011 21:39:15 +0200 |
parents | 738712143645 |
children | 165fcc747951 |
files | scripts/darwin-py2app.sh setup.py |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/darwin-py2app.sh Sat Sep 17 21:26:14 2011 +0200 +++ b/scripts/darwin-py2app.sh Sat Sep 17 21:39:15 2011 +0200 @@ -37,6 +37,11 @@ find "dist/" -path "*/Resources/lib/*/pygame/${dir}/*" -delete done +echo "=== Adding magic icon ===" +echo "" + +cp data/icons/program/icon.icns dist/${GAME_NAME}.app/Contents/Resources/ + echo "=== Building DMG ===" echo ""
--- a/setup.py Sat Sep 17 21:26:14 2011 +0200 +++ b/setup.py Sat Sep 17 21:39:15 2011 +0200 @@ -102,8 +102,6 @@ 'app': ['run_game.py'], 'argv_emulation': True, 'iconfile': 'data/icons/program/icon.icns', -# 'dist_dir': 'dist/mutable-mamba-%s' % VERSION_STR, -# 'bdist_base': 'build/bdist', 'packages': [ 'logging', 'encodings', 'pygame', 'mamba', 'data', ],