notebook/docs/resources/Info.plist.example
Matthias Bussonnier 688dc2c6e8 iconset for Jupyter notebook
The pngs could be generated from inkascape in a loop, though for reason X
or Y, inkscape 0.91 refuse it.

The command to generate the icns is

iconutil -c icns -o ipynb.icns ipynb.iconset

 - yes the folder have to be named icon.iconset, because apple
 - yes the file icon_111x111@2x.png is the same than icon_222x222.png
   but the @2x make a difference on retina screen, because apple

right now in **some conditions** the iconutils fails with out of memory.
we should try to pngcrush some images.
2015-07-16 17:02:15 -07:00

21 lines
702 B
Plaintext

# Add this into the info.plist file of an application
# and the icns icon in Contents/Resources
# then move the application twice :
# http://superuser.com/questions/178316/how-to-set-an-icon-for-a-file-type-on-mac
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ipynb</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>ipynb_mac_icon</string>
<key>CFBundleTypeName</key>
<string>IPython notebook file</string>
<key>CFBundleTypeRole</key>
<string>None</string>
</dict>
<array>