macosx: Define icons for our file types on OS X
[fw/altos] / telegps / Info.plist.in
index 4c351c791fd026572461dd82d7e95fb04067cbe4..7dbb77d1512687113d1152a8aad735f0ef541a97 100644 (file)
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleIconFile</key>
-       <string>TeleGPSIcon.icns</string>
+       <string>TeleGPS.icns</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+         <dict>
+           <key>CFBundleTypeName</key>
+           <string>Telemetry</string>
+           <key>CFBundleTypeIconFile</key>
+           <string>TeleGPS.icns</string>
+           <key>CFBundleTypeExtensions</key>
+           <array>
+             <string>telem</string>
+           </array>
+           <key>CFBundleTypeRole</key>
+           <string>Editor</string>
+         </dict>
+         <dict>
+           <key>CFBundleTypeName</key>
+           <string>Eeprom</string>
+           <key>CFBundleTypeIconFile</key>
+           <string>TeleGPS.icns</string>
+           <key>CFBundleTypeExtensions</key>
+           <array>
+             <string>eeprom</string>
+           </array>
+           <key>CFBundleTypeRole</key>
+           <string>Editor</string>
+         </dict>
+       </array>
        <key>Java</key>
        <dict>
                <key>MainClass</key>