summaryrefslogtreecommitdiff
path: root/micropeak
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-18 14:15:27 -0700
committerKeith Packard <keithp@keithp.com>2014-06-18 14:18:46 -0700
commitfac94c593285eacda57de257fa2be0548341b567 (patch)
tree6b25f7390ddd1ce77102296c42a3063143b438c7 /micropeak
parent5871225a0c442cf5afa41a444ff8bfb8f4002721 (diff)
macosx: Define icons for our file types on OS X
Adds definitions to the Info.plist files shipped to specify which icons to show for .telem, .eeprom and .mpd files. Note that the applications don't respond to open apple events, so double clicking on a file only starts the application. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'micropeak')
-rw-r--r--micropeak/Info.plist.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/micropeak/Info.plist.in b/micropeak/Info.plist.in
index 40984c5a..8f751079 100644
--- a/micropeak/Info.plist.in
+++ b/micropeak/Info.plist.in
@@ -24,6 +24,21 @@
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>MicroPeak.icns</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeName</key>
+ <string>MicroPeak data file</string>
+ <key>CFBundleTypeIconFile</key>
+ <string>MicroPeak.icns</string>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>mpd</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ </dict>
+ </array>
<key>Java</key>
<dict>
<key>MainClass</key>