【发布时间】:2009-06-12 20:38:27
【问题描述】:
我想更改 dmg 的默认图标,我想像使用默认图像音量图标的 skype 或 dropbox 一样,但我无法通过 finder 找到它。你知道我在哪里可以找到它吗?
感谢您的回答, 鲍里斯
【问题讨论】:
-
默认的图标可能被称为removable.icns
我想更改 dmg 的默认图标,我想像使用默认图像音量图标的 skype 或 dropbox 一样,但我无法通过 finder 找到它。你知道我在哪里可以找到它吗?
感谢您的回答, 鲍里斯
【问题讨论】:
如果您想设置自定义音量图标,请使用以下命令
/*
SetFile -c icnC will change the creator of the file to icnC
*/
SetFile -c icnC /<your path>/.VolumeIcon.icns
现在创建读/写 dmg
/*
to set custom icon attribute
*/
SetFile -a C /Volumes/dmgName
【讨论】: