4

dmg のデフォルト アイコンを変更したいのですが、デフォルトの画像ボリューム アイコンを使用する Skype や Dropbox のようにしたいのですが、ファインダーで見つけることができません。どこで見つけられるか分かりますか?

答えてくれてありがとう、ボリス

4

2 に答える 2

6

Ok I didn't find the icon in the finder but you can download the full icon set here : here

Also if you want to set the dmg icon from the cmd line :

  • cp < your file.icns > < your mounted image path >.VolumeIcon.icns (make sure your dmg is writable)

  • SetFile -a C < your mounted image path >

The second command line is used to tell the dmg to use the icon once mounted.

If you want to make an icns from any kind of image, have a look at this freeware : img2icns

于 2009-06-12T23:14:30.990 に答える
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
于 2013-08-26T12:10:03.290 に答える