Changeset 28739


Ignore:
Timestamp:
12/03/13 11:27:53 (7 years ago)
Author:
ak19
Message:

Add code to set icon for dmg. Still untested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/kits/rke/ant-scripts/wrap.xml

    r28738 r28739  
    200200                tofile="/Volumes/${dmg.name}/.DS_Store"
    201201                overwrite="true"/>
     202            <!-- Set icon -->
     203            <exec executable="SetFile">
     204                <arg line="-a C /Volumes/${dmg.name}"/>
     205            </exec>
    202206            <!-- add symlink to applications folder -->
    203207            <symlink link="/Volumes/${dmg.name}" resource="/Applications"/>
     
    207211            </exec>
    208212            <!-- Compress it to a new image -->
    209             <exec executable="hdiutil" os="Mac OS X" failonerror="true">
     213            <exec executable="hdiutil" failonerror="true">
    210214                <arg line="convert ${dmg.name}-tmp.dmg -format UDZO -o ${dmg.name}.dmg"/>
    211215            </exec>
Note: See TracChangeset for help on using the changeset viewer.