diff package-files/osx/Info.plist @ 39:89d7f4d91f67

Got a working, non-bloated Apple Mac bundle!
author David Barts <n5jrn@me.com>
date Fri, 01 May 2020 23:06:04 -0700
parents
children 4076f1bbf21d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/package-files/osx/Info.plist	Fri May 01 23:06:04 2020 -0700
@@ -0,0 +1,47 @@
+<?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>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>Copyright © 2020, David Barts</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>