update osx DMG icon tool paths

OS 10.9 no longer has /Developer, but
DeRez, Rez & SetFile are in $PATH since at least 10.6
This commit is contained in:
Robin Gareus 2014-10-08 01:00:51 +02:00
parent 5f100d8c13
commit baf6f73c34
1 changed files with 4 additions and 4 deletions

View File

@ -665,10 +665,10 @@ rm -rf "$MNTPATH"
echo "setting file icon ..."
cp ${PRODUCT_PKG_DIR}/$Resources/appIcon.icns ${ICNSTMP}.icns
/usr/bin/sips -i ${ICNSTMP}.icns
/Developer/Tools/DeRez -only icns ${ICNSTMP}.icns > ${ICNSTMP}.rsrc
/Developer/Tools/Rez -append ${ICNSTMP}.rsrc -o "$UC_DMG"
/Developer/Tools/SetFile -a C "$UC_DMG"
sips -i ${ICNSTMP}.icns
DeRez -only icns ${ICNSTMP}.icns > ${ICNSTMP}.rsrc
Rez -append ${ICNSTMP}.rsrc -o "$UC_DMG"
SetFile -a C "$UC_DMG"
rm ${ICNSTMP}.icns ${ICNSTMP}.rsrc