| 1 |
# Add this into the info.plist file of an application |
| 2 |
# and the icns icon in Contents/Resources |
| 3 |
# then move the application twice : |
| 4 |
# https://superuser.com/questions/178316/how-to-set-an-icon-for-a-file-type-on-mac |
| 5 |
|
| 6 |
<key>CFBundleDocumentTypes</key> |
| 7 |
<array> |
| 8 |
<dict> |
| 9 |
<key>CFBundleTypeExtensions</key> |
| 10 |
<array> |
| 11 |
<string>ipynb</string> |
| 12 |
</array> |
| 13 |
<key>CFBundleTypeIconFile</key> |
| 14 |
<string>ipynb_mac_icon</string> |
| 15 |
<key>CFBundleTypeName</key> |
| 16 |
<string>IPython notebook file</string> |
| 17 |
<key>CFBundleTypeRole</key> |
| 18 |
<string>None</string> |
| 19 |
</dict> |
| 20 |
<array> |