Update of /cvsroot/radmind/radmind-assistant
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23677
Modified Files:
Makefile
Log Message:
Set custom icon for Radmind folder on dmg.
Index: Makefile
===================================================================
RCS file: /cvsroot/radmind/radmind-assistant/Makefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Makefile 10 Mar 2006 17:08:03 -0000 1.25
--- Makefile 1 May 2006 17:27:33 -0000 1.26
***************
*** 43,46 ****
--- 43,47 ----
DMGNAME=RadmindAssistant-${version}
TMPDMG=${DMGNAME}.${tmpval}
+ ICON=`echo -e "Icon\r"`
dmg : all
***************
*** 51,54 ****
--- 52,60 ----
hdiutil attach tmp/${TMPDMG}.dmg
-mkdir -p /Volumes/${DMGNAME}/Radmind
+ /Developer/Tools/Rez -o "/Volumes/${DMGNAME}/Radmind/${ICON}" \
+ RadmindFolderIcon.r
+ /Developer/Tools/SetFile -c "MACS" -t "icon" \
+ -a IV "/Volumes/${DMGNAME}/Radmind/${ICON}"
+ /Developer/Tools/SetFile -a C "/Volumes/${DMGNAME}/Radmind/"
cp -R ${RA_APP} /Volumes/${DMGNAME}/Radmind/${RA_NAME}
cp -R ${RTE_APP} /Volumes/${DMGNAME}/Radmind/${RTE_NAME}
|