开发者

File extension icon on Mac

开发者 https://www.devze.com 2023-01-10 20:03 出处:网络
My application uses new proprie开发者_运维技巧tary file formats with extensions never been used before. I would like to associate specific icons to display my files in finder with nice iconography. As

My application uses new proprie开发者_运维技巧tary file formats with extensions never been used before. I would like to associate specific icons to display my files in finder with nice iconography. As far as I know LaunchService is responsible to handle all these data, however I'm confused where, when and how shall I create associations.

Which entries I have to add to plist?

Where I need to actually register this extension - during installation? Is there any script for this?


Add a CFBundleDocumentTypes key to your plist, see Storing Document Types Information in the Application's Property List

0

精彩评论

暂无评论...
验证码 换一张
取 消