diff package-files/osx/Info.plist @ 25:a495f9ea498b mac-open

Initial attempts to make it respond to MacOS open message (not working).
author David Barts <n5jrn@me.com>
date Sun, 13 Dec 2020 10:29:08 -0800
parents 92afaa27f40a
children
line wrap: on
line diff
--- a/package-files/osx/Info.plist	Wed Nov 25 08:40:45 2020 -0800
+++ b/package-files/osx/Info.plist	Sun Dec 13 10:29:08 2020 -0800
@@ -7,6 +7,34 @@
     <string>English</string>
     <key>CFBundleDisplayName</key>
     <string>@app.name@</string>
+    <key>CFBundleDocumentTypes</key>
+    <array>
+      <dict>
+        <key>CFBundleTypeName</key>
+        <string>@app.name@ Document</string>
+        <key>CFBundleTypeRole</key>
+        <string>Editor</string>
+        <key>LSItemContentTypes</key>
+        <array>
+          <string>com.compuserve.gif</string>
+          <string>com.microsoft.bmp</string>
+          <string>public.jpeg</string>
+          <string>public.png</string>
+        </array>
+        <key>CFBundleTypeExtensions</key>
+        <array>
+          <string>*</string>
+        </array>
+        <key>CFBundleTypeOSTypes</key>
+        <array>
+          <string>GIFf</string>
+          <string>BMPf</string>
+          <string>JPEG</string>
+          <string>PNGf</string>
+          <string>****</string>
+        </array>
+      </dict>
+    </array>
     <key>CFBundleExecutable</key>
     <string>JavaApplicationStub</string>
     <key>CFBundleIconFile</key>