From cad702d0d132481c37612c69f434b100522bbe4d Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Sat, 17 May 2014 20:48:38 +0200 Subject: [PATCH] Slightly better OS X build. --- packaging/darwin-py2app.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/packaging/darwin-py2app.sh b/packaging/darwin-py2app.sh index 8af8829..ee00139 100755 --- a/packaging/darwin-py2app.sh +++ b/packaging/darwin-py2app.sh @@ -19,9 +19,7 @@ python setup.py sdist > /dev/null mkdir build (cd build; tar xzf ../dist/${BUILD_NAME}.tar.gz) -echo "[${BUILD_FOLDER}]" cd ${BUILD_FOLDER} -echo "$PWD" echo "" echo "=== Running python setup.py ===" @@ -48,10 +46,17 @@ echo "" cd ${BASEDIR} -pwd rm dist/${DMG_NAME} > /dev/null -echo -e "For some reason the game starts without a foreground window. Click on the icon in the dock (or minimize and restore from the menu) to get it back.\n\nIf this doesn't work, please let me () know, especially if you have any ideas about how to fix it.\n\nYou should also be able to use the unix tarball available at the same place you got this dmg.\n\nThanks." > ${BUILD_FOLDER}/dist/IMPORTANT\ NOTE.txt +cat > ${BUILD_FOLDER}/dist/IMPORTANT\ NOTE.txt <) know, especially if you have any ideas about how to fix it. + +You should also be able to use the unix tarball available at the same place you got this dmg. + +Thanks. +EOF hdiutil create -volname ${GAME_NAME} -srcfolder ${BUILD_FOLDER}/dist/*.app/ -srcfolder ${BUILD_FOLDER}/dist/IMPORTANT\ NOTE.txt dist/${DMG_NAME} -- 2.34.1