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:
parent
5f100d8c13
commit
baf6f73c34
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user