哪里可以找到Leopard上的卷安装图标

时间:2009-06-12 20:38:27

标签: macos icons dmg

我想更改dmg的默认图标,我喜欢使用默认图像卷图标的skype或dropbox,但我无法使用finder找到它。你知道我在哪里找到它吗?

感谢您的回答, 鲍里斯

2 个答案:

答案 0 :(得分:6)

好的我在查找器中找不到图标,但您可以下载此处设置的完整图标:here

另外,如果您想从cmd行设置dmg图标:

  • cp<你的file.icns> <您的已装载图片路径> .VolumeIcon.icns (确保您的dmg可写)

  • SetFile -a C<您的已装载图片路径>

第二个命令行用于告诉dmg在安装后使用该图标。

如果您想从任何类型的图像制作图像,请查看此免费软件:img2icns

答案 1 :(得分:0)

如果要设置自定义音量图标,请使用以下命令

/*
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