view 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 source

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plist version="1.0">
  <!-- see: https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html -->
  <dict>
    <!-- Apple says the following are a must -->
    <key>CFBundleDevelopmentRegion</key>
    <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>
    <string>@app.name@.icns</string>
    <key>CFBundleIdentifier</key>
    <string>@app.domain@</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>@app.name@</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>@app.version@</string>
    <key>CFBundleVersion</key>
    <string>@app.version@</string>
    <key>NSHumanReadableCopyright</key>
    <string>@app.copyright@</string>
    <!-- most package builders throw the following in -->
    <key>CFBundleAllowMixedLocalizations</key>
    <string>false</string>
    <key>LSApplicationCategoryType</key>
    <string>public.app-category.photography</string>
    <!-- JavaApplicationStub wants the following stuff -->
    <key>JVMMainClassName</key>
    <string>@app.entry@</string>
    <key>JVMClassPath</key>
    <string>Contents/Java/@lc.app.name@.jar</string>
    <key>JVMVersion</key>
    <string>@jvm.version@+</string>
    <key>JVMOptions</key>
    <array>
      <string>-Dapple.awt.textantialiasing=true</string>
      <string>-Dapple.laf.useScreenMenuBar=true</string>
      <string>-Dapple.awt.antialiasing=true</string>
    </array>
  </dict>
</plist>